diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2020-04-15 15:01:41 -0400 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-04 16:01:01 +0300 |
commit | 92b53afd69fd0c37da07b843ea1ff2a88fa22740 (patch) | |
tree | 25a59cb3949f1b5aa110c5ab2bcf56744aa563e0 /scripts | |
parent | 83e91d3172ac5bef25741e9b886a17ac852c3caa (diff) | |
download | toybox-92b53afd69fd0c37da07b843ea1ff2a88fa22740.tar.gz |
change.sh: remove bashisms, change shebang to sh
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/change.sh | 6 |
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 |