projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da30c2
)
FIX: Print usage when config is not passed to launcher.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 17 Jan 2019 02:03:28 +0000
(10:03 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 17 Jan 2019 02:03:28 +0000
(10:03 +0800)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index 06588fd84e6f0e1093ed0ebfc1f8e00022b60af9..dad89fc2674cad3822c4e4b29e69f48377352820 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-55,6
+55,11
@@
while [ ${#} -gt 0 ]; do
shift 1
done
+if [[ -z $config ]]; then
+ usage
+ exit 1
+fi
+
# Docker doesn't like uppercase characters, spaces or special characters, catch it now before we build everything out and then find out
re='[[:upper:]/ !@#$%^&*()+~`=]'
if [[ $config =~ $re ]];