aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-23 10:28:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-23 10:29:32 +0000
commitc36607b62fa7eef5d0494df5aa77666605559723 (patch)
tree948ad4a6bd350944b02fa33072c683d6f65441e5
parent2fe667afbdc6880c377657b5ff27e6db3b6cbe77 (diff)
downloadopenembedded-core-contrib-c36607b62fa7eef5d0494df5aa77666605559723.tar.gz
openembedded-core-contrib-c36607b62fa7eef5d0494df5aa77666605559723.tar.bz2
openembedded-core-contrib-c36607b62fa7eef5d0494df5aa77666605559723.zip
Revert "e2fsprogs/populate-extfs.sh: fix a problem on dash"
This reverts commit 22f90c5aec4f0b0360d1d960226f9965d83d589b. This causes build failures with: | dirname: missing operand | Try 'dirname --help' for more information. under some circumstances.
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh b/meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh
index 9b55a4b912..7de720b115 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh
@@ -23,7 +23,7 @@ DEBUGFS="debugfs"
find $SRCDIR | while read FILE; do
TGT="${FILE##*/}"
DIR="${FILE#$SRCDIR}"
- DIR="$(dirname $DIR)"
+ DIR="${DIR%$TGT}"
# Skip the root dir
[ ! -z "$DIR" ] || continue