diff options
Diffstat (limited to 'gup')
-rw-r--r-- | gup/Gupfile | 4 | ||||
-rw-r--r-- | gup/abgabe.gup | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gup/Gupfile b/gup/Gupfile index 159f942..5d89a6a 100644 --- a/gup/Gupfile +++ b/gup/Gupfile | |||
@@ -1,2 +1,4 @@ | |||
1 | pdf.gup: | 1 | pdf.gup: |
2 | **/*.pdf \ No newline at end of file | 2 | |
3 | abgabe.gup: | ||
4 | **/abgabe.zip \ No newline at end of file | ||
diff --git a/gup/abgabe.gup b/gup/abgabe.gup new file mode 100644 index 0000000..3a61c7e --- /dev/null +++ b/gup/abgabe.gup | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/usr/bin/env zsh | ||
2 | |||
3 | awk -v "base=$(dirname $2)" '{ print base "/" $0; }' $(dirname $2)/manifest | xargs -t -d '\n' -- zip -j $2 | ||