diff options
author | Stéphane Gourichon <stephane.gourichon@fidergo.fr> | 2017-03-29 11:20:56 +0300 |
---|---|---|
committer | Stéphane Gourichon <stephane.gourichon@fidergo.fr> | 2017-03-29 11:20:56 +0300 |
commit | afed61b2f326372552bbb82c3029424782c4caa1 (patch) | |
tree | 8aa55ff0d8d4640dd966f07be695e68ff0c32862 | |
parent | 0446dd965454afb6a4e13165fb935cfeb73fd1a0 (diff) |
Fix: ./install.sh: option requires an argument -- h
The -h option of install.sh did not work and
script just went on with default settings.
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ THIS_DIR=$(cd $(dirname $0); pwd) PREFIX=${PREFIX:-"${THIS_DIR}/install"} TORCH_LUA_VERSION=${TORCH_LUA_VERSION:-"LUAJIT21"} # by default install LUAJIT21 -while getopts 'bsh:' x; do +while getopts 'bsh' x; do case "$x" in h) echo "usage: $0 |