fahrplanimport: maybe a little bit more save when not running in the same folder

This commit is contained in:
dodo 2011-09-23 14:01:02 +02:00
parent ae6ad586f6
commit 7549bd8939
1 changed files with 4 additions and 2 deletions

View File

@ -2,13 +2,15 @@
# c3d2-web $ ./scripts/fahrplan-import.sh
cd ./content/static/datenspuren || exit 1
mkdir .tmp
cd .tmp
curl https://cccv.pentabarf.org/DS2011.tar.gz | tar xz
rm DS2011/style.css
cp -r DS2011/* ../content/static/datenspuren/fahrplan/
cp -r DS2011/* ../fahrplan/
cd ..
rm -r .tmp
git add content/static/datenspuren/fahrplan
git add ./fahrplan
git commit -m 'fahrplan import [auto]'