From ddbe235e2828e70a208d7741fc9d645cd18345c2 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 25 Mar 2016 13:05:56 +0100 Subject: correctly set cwd on downloading --- configs/download.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configs') 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" -- cgit v1.2.3