diff options
Diffstat (limited to 'gup')
-rw-r--r-- | gup/abgabe.gup | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gup/abgabe.gup b/gup/abgabe.gup index 92fade1..049ab26 100644 --- a/gup/abgabe.gup +++ b/gup/abgabe.gup | |||
@@ -4,7 +4,7 @@ dir=$(dirname $2) | |||
4 | manifest=${dir}/manifest | 4 | manifest=${dir}/manifest |
5 | 5 | ||
6 | deps() { | 6 | deps() { |
7 | sort -u $manifest | awk -v "base=${dir}" '{ print base "/" $0; }' | 7 | sort -u $manifest | awk -v "base=${dir}" '{ print base "/" $0; }' | xargs -d '\n' -- find | filter |
8 | } | 8 | } |
9 | 9 | ||
10 | filter() { | 10 | filter() { |
@@ -17,4 +17,5 @@ EOF | |||
17 | gup --update $manifest | 17 | gup --update $manifest |
18 | 18 | ||
19 | deps | xargs gup --update | 19 | deps | xargs gup --update |
20 | { cd $dir; xargs -d '\n' -- find | filter | xargs -t -d '\n' -- zip $(basename $2) manifest } <${manifest} | 20 | |
21 | { cd $dir && xargs -d '\n' -- find | filter | xargs -t -d '\n' -- zip - manifest >$(basename $2)} <${manifest} | ||