diff options
-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)" |