2019-10-21 17:02:18 +02:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
2019-10-21 17:04:00 +02:00
|
|
|
set -e
|
|
|
|
|
2019-10-21 17:02:18 +02:00
|
|
|
topic='SEC_BUF_OVL'
|
2019-10-21 17:03:06 +02:00
|
|
|
name='brandl_valentin'
|
2019-10-21 17:02:18 +02:00
|
|
|
|
|
|
|
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"
|