summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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}"
 }
 
df6f4044f9d365aed38d216c8601&follow=1'>Remove wcwidth portJune McEnroe DYLD_FORCE_FLAT_NAMESPACE no longer exists in macOS 12 so this approach doesn't work anymore. Moved to <https://git.causal.agency/jorts/tree/wcwidth> and compiled into <https://git.causal.agency/jorts/tree/ncurses>. 2022-03-16Remove -j4 from ./PlanJune McEnroe Plan learned to set this automatically! 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe