fix numeric sorting
This commit is contained in:
parent
a278e5063c
commit
9590b7cb8a
1 changed files with 2 additions and 2 deletions
|
@ -117,9 +117,9 @@ fi
|
||||||
IFS_BACKUP=$IFS
|
IFS_BACKUP=$IFS
|
||||||
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
|
do
|
||||||
cat $fragfile >> "fragments.concat"
|
cat "fragments/$fragfile" >> "fragments.concat"
|
||||||
# Handle newlines.
|
# Handle newlines.
|
||||||
if [ "x${ENSURE_NEWLINE}" != "x" ]; then
|
if [ "x${ENSURE_NEWLINE}" != "x" ]; then
|
||||||
echo >> "fragments.concat"
|
echo >> "fragments.concat"
|
||||||
|
|
Loading…
Reference in a new issue