diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-17 16:26:55 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-17 16:26:55 -0700 |
commit | 02334d1cf220aaca11f734a3646d2f099ad016ca (patch) | |
tree | 65ea34dca0e044c77d7ec453beaba736cd92a7e4 | |
parent | ede9d523d71569c1b5491811367b513400d62ce5 (diff) | |
download | vyatta-cfg-system-02334d1cf220aaca11f734a3646d2f099ad016ca.tar.gz vyatta-cfg-system-02334d1cf220aaca11f734a3646d2f099ad016ca.zip |
Use tr command rather than awk
For consistency, use tr for all case conversion in get_response
-rwxr-xr-x | scripts/install-system | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system index 2d97d90f..3df0e0ca 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -102,7 +102,7 @@ get_response () { # get the response from the user read myresponse - myresponse=$(echo "$myresponse" | awk '{ printf (tolower($0)) }') + myresponse=$(echo "$myresponse" | tr [:upper:] [:lower:]) # Check to see if the user accepts the default if [ -z "$myresponse" ]; then |