aboutsummaryrefslogtreecommitdiff
path: root/norns_upload
diff options
context:
space:
mode:
authorgretchen <gretchen@gnar.cool>2019-11-18 16:12:36 -0800
committergretchen <gretchen@gnar.cool>2019-11-18 16:12:36 -0800
commit4e4deba4b4b305b097bd5406b671e3b84a77ebb5 (patch)
tree7dbabb32a55745533b6ff995b9cfbc3c1636b478 /norns_upload
parent5894a5259bcb99774a35858e6aaec664099adde2 (diff)
downloadnorns-etc-4e4deba4b4b305b097bd5406b671e3b84a77ebb5.tar.gz
norns-etc-4e4deba4b4b305b097bd5406b671e3b84a77ebb5.zip
Load a file on norns
Diffstat (limited to 'norns_upload')
-rw-r--r--norns_upload4
1 files changed, 1 insertions, 3 deletions
diff --git a/norns_upload b/norns_upload
index e6759b8..dd4dba6 100644
--- a/norns_upload
+++ b/norns_upload
@@ -1,13 +1,11 @@
#!/bin/bash
-set -x
-
if [[ $# -ne 2 ]]; then
echo "Usage: $0 project filename"
exit 1
fi
-HOST=norns.local
+HOST="${NORNS:-norns.local}"
API="/api/v1"
BASE="/dust/code/"
PROJECT="$1"