aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMaZderMind2016-03-25 13:05:56 +0100
committerMaZderMind2016-03-25 13:05:56 +0100
commitddbe235e2828e70a208d7741fc9d645cd18345c2 (patch)
tree4de5fc58139328b59e304a7080872384ff77fbc7 /configs
parent4beeb4f9fc7bb72703d8333e36955b84f1821317 (diff)
correctly set cwd on downloading
Diffstat (limited to '')
-rwxr-xr-xconfigs/download.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/download.sh b/configs/download.sh
index 7571e96..21916fe 100755
--- a/configs/download.sh
+++ b/configs/download.sh
@@ -12,8 +12,10 @@ for d in conferences/*; do
cd "$wd"
fi
done
-cd "$owd"
+cd "$wd"
# eventkalender upcoming
echo "eventkalender"
wget -q --no-check-certificate "https://c3voc.de/eventkalender/events.json?filter=upcoming&streaming=yes" -O /tmp/upcoming.json && mv /tmp/upcoming.json upcoming.json
+
+cd "$owd"