diff options
author | yenatch <yenatch@gmail.com> | 2018-06-05 07:22:25 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2018-06-05 07:22:25 -0400 |
commit | e58688c09b76f097aa011af2cae0d25773817f09 (patch) | |
tree | 9cc87ef9b53376c367cc3774cb36cf56ff970e4c | |
parent | 1baea408e225ab4a2c01f0204384eee55e6afd06 (diff) |
sort_symfile: don't need to use sort -o with a temp file
-rwxr-xr-x | tools/sort_symfile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/sort_symfile.sh b/tools/sort_symfile.sh index 896b8e973..edde25e75 100755 --- a/tools/sort_symfile.sh +++ b/tools/sort_symfile.sh @@ -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 |