summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/up.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 8febee95..92e0f110 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -2,6 +2,7 @@
 set -eu
 
 readonly Host='temp.causal.agency'
+readonly Root='/var/www'
 
 upload() {
 	src=$1
@@ -9,7 +10,7 @@ upload() {
 	ts=$(date +'%s')
 	rand=$(openssl rand -hex 4)
 	url=$(printf '%s/%x%s.%s' "$Host" "$ts" "$rand" "$ext")
-	scp -q "$src" "${Host}:/usr/local/www/${url}"
+	scp -q "$src" "${Host}:${Root}/${url}"
 	echo "https://${url}"
 }
 
e7bda5cfc8f1213c&follow=1'>Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe