Remove bashisms from scripts

The '-e' option to echo and brace expansion are not guaranteed to be supported
by a POSIX-compliant /bin/sh (e.g. dash)

Signed-off-by: dann frazier <dannf@debian.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
dann frazier 2009-06-05 15:02:49 -07:00 committed by Sam Ravnborg
parent a9eb522375
commit bdefe35d40
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ compiler="$*"
if [ ${#compiler} -eq 0 ]; then
echo "Error: No compiler specified."
echo -e "Usage:\n\t$0 <gcc-command>"
printf "Usage:\n\t$0 <gcc-command>\n"
exit 1
fi