diff options
author | EuAndreh <eu@euandre.org> | 2025-03-02 18:31:55 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-03 06:09:09 -0300 |
commit | 83d53747e919a24b48c7e72ff54aa6930ac46ea2 (patch) | |
tree | e47d81352313e9e122b83a966044dd8a17d04480 /bin | |
parent | bin/process: Add working version (diff) | |
download | dotfiles-83d53747e919a24b48c7e72ff54aa6930ac46ea2.tar.gz dotfiles-83d53747e919a24b48c7e72ff54aa6930ac46ea2.tar.xz |
bin/: Fix fallback for $LIVEDIR
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/live | 2 | ||||
-rwxr-xr-x | bin/process | 2 | ||||
-rwxr-xr-x | bin/upload | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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" diff --git a/bin/process b/bin/process index 7f2bea6..4215341 100755 --- a/bin/process +++ b/bin/process @@ -1,7 +1,7 @@ #!/bin/sh set -eu -cd "${LIVEDIR:-~/Public/live/}" +cd "${LIVEDIR:-$HOME/Public/live/}" makefile_pre() { cat <<'EOF' @@ -1,7 +1,7 @@ #!/bin/sh set -eu -cd "${LIVEDIR:-~/Public/live/}" +cd "${LIVEDIR:-$HOME/Public/live/}" for f in queue/*.webm; do rsync -avP -- "$f" toph:lives/ : day="$(basename -- "$f" .webm)" |