sort_symfile: don't need to use sort -o with a temp file

This commit is contained in:
yenatch 2018-06-05 07:22:25 -04:00
parent 1baea408e2
commit e58688c09b
1 changed files with 3 additions and 3 deletions

View File

@ -8,6 +8,6 @@ sed \
-e "s/^00:[C-D]/4_WRAM0@&/g" \
-e "s/^..:[D-D]/5_WRAMX@&/g" \
$1 \
| sort -o $TEMP_FILE
sed -e "s/^.*@//g" $TEMP_FILE > $1
rm $TEMP_FILE
| sort \
| sed -e "s/^.*@//g" > $TEMP_FILE
mv $TEMP_FILE $1