diff options
author | EuAndreh <eu@euandre.org> | 2025-03-03 07:11:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-03 07:24:38 -0300 |
commit | 693edc9183f4a206ee9b7f6e243194544717d2c0 (patch) | |
tree | 9da956a1c5fab09d88e054e280a8c640b96217d7 /bin | |
parent | bin/upload: Enable removal after upload (diff) | |
download | dotfiles-693edc9183f4a206ee9b7f6e243194544717d2c0.tar.gz dotfiles-693edc9183f4a206ee9b7f6e243194544717d2c0.tar.xz |
bin/process: Fix data/ paths
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/process | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/process b/bin/process index 31b8db0..8de7e00 100755 --- a/bin/process +++ b/bin/process @@ -31,14 +31,14 @@ all: $(sources.webmx) $(combined.webmx) $(combined.webmx): ffmpeg $(FFMFLAGS) `printf ' -i %s' $?` $*.webm - ln $*.webm queue/$(*D).webm + ln $*.webm queue/"`basename $(*D)`".webm touch $@ EOF } mkdeps() { find data/*/*/live.mpd | varlist 'sources.mpd' - find data/*/*/live.mpd | cut -d/ -f1 | sed 's|$|/combined.webmx|' | + find data/*/*/live.mpd | cut -d/ -f1,2 | sed 's|$|/combined.webmx|' | LANG=POSIX.UTF-8 sort | uniq | varlist 'combined.webmx' printf '\n' @@ -47,7 +47,7 @@ mkdeps() { printf '\n' find data/*/*/live.mpd | sed 's/\.mpd$/.webm/' | LANG=POSIX.UTF-8 sort | - awk -F/ '{ printf "%s/combined.webmx:\t%s\n", $1, $0 }' + awk -F/ '{ printf "data/%s/combined.webmx:\t%s\n", $2, $0 }' } |