summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-version.sh
diff options
context:
space:
mode:
authordann frazier <dannf@debian.org>2009-06-05 15:02:49 -0700
committerSam Ravnborg <sam@ravnborg.org>2009-06-09 22:37:54 +0200
commitbdefe35d40c6bb5859dadee26c2e19bf58540f1d (patch)
treeda2b32395341bdcb3bd829b6634a818111f6fdf4 /scripts/gcc-version.sh
parenta9eb522375abc79c2bf23940a067bc0046276236 (diff)
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>
Diffstat (limited to 'scripts/gcc-version.sh')
-rw-r--r--scripts/gcc-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh
index cc767b388ba..debecb5561c 100644
--- a/scripts/gcc-version.sh
+++ b/scripts/gcc-version.sh
@@ -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