17 lines
254 B
Bash
17 lines
254 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
topic='SEC_BUF_OVL'
|
||
|
name='valentin_brandl'
|
||
|
|
||
|
if [ -z "${1}" ]
|
||
|
then
|
||
|
echo "Usage: ${0} <num>"
|
||
|
exit 1
|
||
|
else
|
||
|
num="${1}"
|
||
|
fi
|
||
|
|
||
|
file_name="${topic}_${name}_abgabe0${num}"
|
||
|
|
||
|
git archive HEAD --prefix "${file_name}/" -o "../${file_name}.zip"
|