summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/e2fsprogs
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 /meta/recipes-devtools/e2fsprogs
parente40123a06294a66f7210ba331180fd969ec5e369 (diff)
downloadast2050-yocto-poky-d11d782b33e74638b918ec22df15399c86a5c849.zip
ast2050-yocto-poky-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>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-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 9b55a4b..7de720b 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
OpenPOWER on IntegriCloud