Added -r flag to read so that filenames with \ will be read correctly
This commit is contained in:
parent
8e83e57a29
commit
03650cc0ca
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# find all the files in the fragments directory, sort them numerically and concat to fragments.concat in the working dir
|
# find all the files in the fragments directory, sort them numerically and concat to fragments.concat in the working dir
|
||||||
find fragments/ -type f -follow | sort ${SORTARG} | while read fragfile; do
|
find fragments/ -type f -follow | sort ${SORTARG} | while read -r fragfile; do
|
||||||
cat "$fragfile" >> "fragments.concat"
|
cat "$fragfile" >> "fragments.concat"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue