]> git.treefish.org Git - bitvalue.git/commitdiff
do not use https master
authorAlexander Schmidt <alex@treefish.org>
Fri, 5 Jun 2020 10:28:25 +0000 (12:28 +0200)
committerAlexander Schmidt <alex@treefish.org>
Fri, 5 Jun 2020 10:28:25 +0000 (12:28 +0200)
bitvalue

index 1c080812deb9cb4cc9d104087a92a98aa2815367..0483eb18e19075429acfc2fa41ce63b6883f0a0d 100755 (executable)
--- 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&\