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:
parent
e40123a062
commit
d11d782b33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue