aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-11-13 14:21:01 +0100
committerChris Larson <clarson@kergoth.com>2010-08-09 19:03:32 -0700
commit103a9e37707268afe6c0c1f1a668c3c02f2fee0e (patch)
treecbdc3f64fc4bb32e923fd49303a6b301096eee48
parent8b319205500471d59c092f2648cac1773a634177 (diff)
downloadopenembedded-103a9e37707268afe6c0c1f1a668c3c02f2fee0e.zip
openembedded-103a9e37707268afe6c0c1f1a668c3c02f2fee0e.tar.gz
openembedded-103a9e37707268afe6c0c1f1a668c3c02f2fee0e.tar.bz2
base.bbclass: BSD doesn't support cp -d, so change cp -dP to cp -pP
-rw-r--r--classes/staging.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/staging.bbclass b/classes/staging.bbclass
index e806449..e13f605 100644
--- a/classes/staging.bbclass
+++ b/classes/staging.bbclass
@@ -23,7 +23,7 @@ package_stagefile_shell() {
destfile=`echo $srcfile | sed s#${TMPDIR}#${PSTAGE_TMPDIR_STAGE}#`
destdir=`dirname $destfile`
mkdir -p $destdir
- cp -dp $srcfile $destfile
+ cp -Pp $srcfile $destfile
fi
}