summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'config.sub')
-rwxr-xr-xconfig.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.sub b/config.sub
index ffce5595668..00cd45dab53 100755
--- a/config.sub
+++ b/config.sub
@@ -596,7 +596,7 @@ case $os in
;;
*)
# Get rid of the `-' at the beginning of $os.
- os=`echo $1 | sed 's/[^-]*-//'`
+ os=`echo $os | sed 's/[^-]*-//'`
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
exit 1
;;