summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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