aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-04-15 15:01:41 -0400
committerCem Keylan <cem@ckyln.com>2021-07-04 16:01:01 +0300
commit92b53afd69fd0c37da07b843ea1ff2a88fa22740 (patch)
tree25a59cb3949f1b5aa110c5ab2bcf56744aa563e0
parent83e91d3172ac5bef25741e9b886a17ac852c3caa (diff)
downloadtoybox-92b53afd69fd0c37da07b843ea1ff2a88fa22740.tar.gz
change.sh: remove bashisms, change shebang to sh
-rwxr-xr-xscripts/change.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/change.sh b/scripts/change.sh
index 99dcfde9..b1fa62a0 100755
--- a/scripts/change.sh
+++ b/scripts/change.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# build each command as a standalone executable
@@ -14,8 +14,8 @@ mkdir -p "$PREFIX" || exit 1
for i in $(generated/instlist | egrep -vw "sh|help")
do
- echo -n " $i" &&
+ printf ' %s' "$i" &&
scripts/single.sh $i > /dev/null 2>$PREFIX/${i}.bad &&
- rm $PREFIX/${i}.bad || echo -n '*'
+ rm $PREFIX/${i}.bad || printf '*'
done
echo