diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-29 08:05:32 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-02-29 08:05:32 +0000 |
commit | 5928d4c1e01a076c3c992b3a003c167a5d4b7600 (patch) | |
tree | 3e43148d3114380fff1418aa3ff6d01b157a97e4 /config.sub | |
parent | ac9d16f8b62f24b7bb7190888b6bc28cf2e75af9 (diff) | |
download | ruby-5928d4c1e01a076c3c992b3a003c167a5d4b7600.tar.gz ruby-5928d4c1e01a076c3c992b3a003c167a5d4b7600.tar.xz ruby-5928d4c1e01a076c3c992b3a003c167a5d4b7600.zip |
2000-02-29
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'config.sub')
-rw-r--r-- | config.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.sub b/config.sub index f853351cc..3c591de61 100644 --- a/config.sub +++ b/config.sub @@ -68,7 +68,7 @@ esac # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - linux-gnu*) + linux*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -891,7 +891,7 @@ case $os in os=-sysv4.2uw ;; -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + os=`echo $os | sed -e 's|gnu/linux|linux|'` ;; # First accept the basic system types. # The portable systems comes first. |