aboutsummaryrefslogtreecommitdiff
path: root/bin/live
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-02 18:31:55 -0300
committerEuAndreh <eu@euandre.org>2025-03-03 06:09:09 -0300
commit83d53747e919a24b48c7e72ff54aa6930ac46ea2 (patch)
treee47d81352313e9e122b83a966044dd8a17d04480 /bin/live
parentbin/process: Add working version (diff)
downloaddotfiles-83d53747e919a24b48c7e72ff54aa6930ac46ea2.tar.gz
dotfiles-83d53747e919a24b48c7e72ff54aa6930ac46ea2.tar.xz
bin/: Fix fallback for $LIVEDIR
Diffstat (limited to 'bin/live')
-rwxr-xr-xbin/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/live b/bin/live
index 7b3caa8..d5de100 100755
--- a/bin/live
+++ b/bin/live
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
-cd "${LIVEDIR:~/Public/live}"
+cd "${LIVEDIR:-$HOME/Public/live}"
DIR="data/$(timestamp)"/"$(now)"
mkdir -p "$DIR"
cd "$DIR"