summaryrefslogtreecommitdiffstats
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:36 +0000
commitd11d782b33e74638b918ec22df15399c86a5c849 (patch)
treeaea55353a9fb9d309d739ab585d8be6a46407ecc
parente40123a06294a66f7210ba331180fd969ec5e369 (diff)
downloadpoky-d11d782b33e74638b918ec22df15399c86a5c849.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
23 find $SRCDIR | while read FILE; do 23 find $SRCDIR | while read FILE; do
24 TGT="${FILE##*/}" 24 TGT="${FILE##*/}"
25 DIR="${FILE#$SRCDIR}" 25 DIR="${FILE#$SRCDIR}"
26 DIR="$(dirname $DIR)" 26 DIR="${DIR%$TGT}"
27 27
28 # Skip the root dir 28 # Skip the root dir
29 [ ! -z "$DIR" ] || continue 29 [ ! -z "$DIR" ] || continue