X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=setup.sh;h=5aaf019c160b1f6d36124994d4a6c114fb949648;hp=8e8e259ab6a9d41d602bb261c9f3e2d34bc134ab;hb=3da8c7ce9ed611cd12d48d5470db5725fa310f24;hpb=56db7173a4db2db4a26688ebcfcce0d240f1aa5a;ds=sidebyside diff --git a/setup.sh b/setup.sh index 8e8e259..5aaf019 100755 --- a/setup.sh +++ b/setup.sh @@ -28,7 +28,7 @@ Setup dependencies, apache, and gitweb. Then call build.rb. Default DOMAIN_NAME is iankelling.org. Domain is expected to resolve so we can get a let's encrypt cert. --p PORT Apache port, default is *:443. +-p PORT Apache port, default is 443. -h|--help Print help and exit. Note: Uses GNU getopt options parsing style @@ -38,7 +38,7 @@ EOF ##### begin command line parsing ######## -port="*:443" +port=443 temp=$(getopt -l help, p:h "$@") || usage 1 eval set -- "$temp" while true; do