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>
This commit is contained in:
Richard Purdie 2014-01-23 10:28:32 +00:00
parent e40123a062
commit d11d782b33
1 changed files with 1 additions and 1 deletions

View File

@ -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