Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/distro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Gourichon <stephane.gourichon@fidergo.fr>2017-03-29 11:20:56 +0300
committerStéphane Gourichon <stephane.gourichon@fidergo.fr>2017-03-29 11:20:56 +0300
commitafed61b2f326372552bbb82c3029424782c4caa1 (patch)
tree8aa55ff0d8d4640dd966f07be695e68ff0c32862
parent0446dd965454afb6a4e13165fb935cfeb73fd1a0 (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-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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