From: Alexander Schmidt Date: Fri, 5 Jun 2020 10:28:25 +0000 (+0200) Subject: do not use https X-Git-Url: http://git.treefish.org/~alex/bitvalue.git/commitdiff_plain/refs/heads/master?ds=sidebyside;hp=6b2d0110e6698d9957179a4e985d9f0a26ed0792 do not use https --- diff --git a/bitvalue b/bitvalue index 1c08081..0483eb1 100755 --- a/bitvalue +++ b/bitvalue @@ -14,19 +14,19 @@ Arguments: while getopts ':ht:' option; do case "$option" in - h) echo "$USAGE" - exit - ;; - t) TIMESPAN=$OPTARG - ;; - :) printf "missing argument for -%s\n" "$OPTARG" >&2 - echo "$usage" >&2 - exit 1 - ;; - \?) printf "illegal option: -%s\n" "$OPTARG" >&2 - echo "$usage" >&2 - exit 1 - ;; + h) echo "$USAGE" + exit + ;; + t) TIMESPAN=$OPTARG + ;; + :) printf "missing argument for -%s\n" "$OPTARG" >&2 + echo "$usage" >&2 + exit 1 + ;; + \?) printf "illegal option: -%s\n" "$OPTARG" >&2 + echo "$usage" >&2 + exit 1 + ;; esac done shift $((OPTIND - 1)) @@ -42,7 +42,7 @@ fi source $CONFIG -URL="https://$HOST/export_data.csv?\ +URL="http://$HOST/export_data.csv?\ currency=$CURRENCY&\ data_type=price&\ exchange=$EXCHANGE&\