From afed61b2f326372552bbb82c3029424782c4caa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Gourichon?= Date: Wed, 29 Mar 2017 10:20:56 +0200 Subject: 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. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a4b1301..5ea1ad9 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit v1.2.3