Commit 73a3fdcc authored by Sébastien Villemot's avatar Sébastien Villemot

Fix directory management mistake in previous commit

parent c72f7f8a
......@@ -2,10 +2,12 @@
set -e
cd assets
for branch in release snapshot
do
mkdir -p "assets/$branch"
cd "assets/$branch"
mkdir -p "$branch"
cd "$branch"
wget --no-verbose "https://www.dynare.org/$branch/macosx.json"
wget --no-verbose "https://www.dynare.org/$branch/source.json"
......@@ -30,8 +32,8 @@ do
echo "$filename $timestamp"
touch -amt "$timestamp" "$filename"
done
cd -
cd ..
done
rm -- *.json
cd -
cd ..
done
Markdown is supported
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