From e58688c09b76f097aa011af2cae0d25773817f09 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 5 Jun 2018 07:22:25 -0400 Subject: [PATCH] sort_symfile: don't need to use sort -o with a temp file --- tools/sort_symfile.sh | 6 +++--- 1 file 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