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:
f80e6a3
)
Fix regression due to f80e6a37a9d748f43047141b18986f6386444bc9.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 17 Jan 2019 09:47:46 +0000
(17:47 +0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Thu, 17 Jan 2019 09:47:46 +0000
(17:47 +0800)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index dad89fc2674cad3822c4e4b29e69f48377352820..30245c8e716b2f811586bffcb43c1448f5cbce1d 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-55,7
+55,7
@@
while [ ${#} -gt 0 ]; do
shift 1
done
-if [
[ -z $config ]
]; then
+if [
-z "$command" -o -z "$config" -a "$command" != "cleanup"
]; then
usage
exit 1
fi
@@
-451,10
+451,6
@@
fi
exit 0
}
-if [ -z "$command" -a -z "$config" ]; then
- usage
-fi
-
if [ ! "$command" == "setup" ]; then
if [[ ! -e $config_file ]]; then
echo "Config file was not found, ensure $config_file exists"
@@
-674,8
+670,6
@@
run_bootstrap() {
$docker_path rm `cat $cidbootstrap` && rm $cidbootstrap
}
-
-
case "$command" in
bootstrap)
run_bootstrap