aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/process6
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 }'
}