diff options
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/populate-extfs.sh | 2 |
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 |