summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2016-06-25 14:47:19 +0200
committerclsr <clsr@clsr.net>2016-06-25 14:47:19 +0200
commit19786fc87f1802c20671c9d6dcf04e2fd15aa140 (patch)
treeb45c66556da4acf34bf6a7b613e968987378e9ca
parent2fa94c35ac48aa6fddee9d7483d4ba1af42535f6 (diff)
downloadgomf-tools-19786fc87f1802c20671c9d6dcf04e2fd15aa140.tar.gz
gomf-tools-19786fc87f1802c20671c9d6dcf04e2fd15aa140.zip
Fix UPLOAD_URL and UPLOAD_HOST in run-gomf.bash
-rwxr-xr-xrun-gomf.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-gomf.bash b/run-gomf.bash
index 3ad2192..d161016 100755
--- a/run-gomf.bash
+++ b/run-gomf.bash
@@ -148,6 +148,8 @@ set -e
flags=()
[ -n "$GOMF_ROOT" ] && cd "$GOMF_ROOT"
[ -n "$NAME" ] && flags+=(--name "$NAME")
+[ -n "$UPLOAD_HOST" ] && flags+=(--upload-host "$UPLOAD_HOST")
+[ -n "$UPLOAD_URL" ] && flags+=(--upload-url "$UPLOAD_URL")
[ -n "$CONTACT_EMAIL" ] && flags+=(--contact "$CONTACT_EMAIL")
[ -n "$ABUSE_EMAIL" ] && flags+=(--abuse "$ABUSE_EMAIL")
[ -n "$HTTP_PORT" ] && flags+=(--http "${HTTP_HOST:-localhost}:$HTTP_PORT")