Merge pull request #174 from bdeak/fix_numeric_sorting
fix numeric sorting
This commit is contained in:
commit
6a3bdd03fa
1 changed files with 2 additions and 2 deletions
|
@ -117,9 +117,9 @@ fi
|
|||
IFS_BACKUP=$IFS
|
||||
IFS='
|
||||
'
|
||||
for fragfile in `find fragments/ -type f -follow | LC_ALL=C sort ${SORTARG}`
|
||||
for fragfile in `find fragments/ -type f -follow -print0 | xargs -0 -n1 basename | LC_ALL=C sort ${SORTARG}`
|
||||
do
|
||||
cat $fragfile >> "fragments.concat"
|
||||
cat "fragments/$fragfile" >> "fragments.concat"
|
||||
# Handle newlines.
|
||||
if [ "x${ENSURE_NEWLINE}" != "x" ]; then
|
||||
echo >> "fragments.concat"
|
||||
|
|
Loading…
Reference in a new issue