Commit df5ffd25 authored by Paul Bethge's avatar Paul Bethge
Browse files

add destination folder

parent d18344bf
......@@ -14,6 +14,6 @@ mkdir -p $tempdir
tar -xf $tarname -C $tempdir
# move the content to destination and clean up
mv $tempdir/*/* .
mv $tempdir/*/* $3
rm -r $tempdir
rm $tarname
......@@ -23,8 +23,11 @@ set -e
# change to script dir
cd $(dirname "$0")
# name the destination folder
for src in "${downloads[@]}"
echo 'Starting download for' $src
./ $src ${!src} &
./ $src ${!src} $dest &
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment