diff options
author | David D. Zuhn <zoo@cygnus> | 1992-05-31 04:04:03 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1992-05-31 04:04:03 +0000 |
commit | 07f1d175cfde673f67d83400224540b9377645fa (patch) | |
tree | 5c60bd177f0cc9a1651168ed74de583e92925099 /config.sub | |
parent | 48079d66da3e5f0267a6e00e5ad8f7839243d948 (diff) | |
download | gdb-07f1d175cfde673f67d83400224540b9377645fa.zip gdb-07f1d175cfde673f67d83400224540b9377645fa.tar.gz gdb-07f1d175cfde673f67d83400224540b9377645fa.tar.bz2 |
better error testing on perverse cases (eg, ./config.sub -sun3)
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ case $1 in esac # Separate what the user gave into CPU-COMPANY and OS (if any). -basic_machine=`echo $1 | sed 's/-[^-]*$//'` +basic_machine=`echo $1 | sed 's/-[^-]+$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi |