diff options
author | Sven E. Templer <sven.templer@gmail.com> | 2015-04-04 23:46:49 +0200 |
---|---|---|
committer | Sven E. Templer <sven.templer@gmail.com> | 2015-04-04 23:46:49 +0200 |
commit | e41f93768e36dd189f7b16a8c5b5c7abd356aa1c (patch) | |
tree | 7ff410c1ac404a289a80e6ecd84e885e7f8fb20a | |
parent | 12ee82ae5138ac86252c41f3ae8f9fd9880e4284 (diff) | |
download | yajl-e41f93768e36dd189f7b16a8c5b5c7abd356aa1c.tar.gz |
fixed configure script to accept "-h" and "--prefix" as stated in usage/help
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. prefix="/usr/local" -if [ "$1" = "--help" ] +if [ "$1" = "-h" ] || [ "$1" = "--help" ] then cat <<EOS Usage: configure [options] @@ -24,7 +24,8 @@ Usage: configure [options] EOS exit 0 fi -if [ "$1" = "-p" ]; then +if [ "$1" = "-p" ] || [ "$1" = "--prefix" ] +then if [ "$#" != 2 ]; then ./configure.sh --help exit 1 |