diff --git a/files/concatfragments.sh b/files/concatfragments.sh index c939797..9b0be41 100755 --- a/files/concatfragments.sh +++ b/files/concatfragments.sh @@ -112,7 +112,7 @@ else fi # 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" done