Skip to content
Snippets Groups Projects
Verified Commit 73a3fdcc authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Fix directory management mistake in previous commit

parent c72f7f8a
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
set -e set -e
cd assets
for branch in release snapshot for branch in release snapshot
do do
mkdir -p "assets/$branch" mkdir -p "$branch"
cd "assets/$branch" cd "$branch"
wget --no-verbose "https://www.dynare.org/$branch/macosx.json" wget --no-verbose "https://www.dynare.org/$branch/macosx.json"
wget --no-verbose "https://www.dynare.org/$branch/source.json" wget --no-verbose "https://www.dynare.org/$branch/source.json"
...@@ -30,8 +32,8 @@ do ...@@ -30,8 +32,8 @@ do
echo "$filename $timestamp" echo "$filename $timestamp"
touch -amt "$timestamp" "$filename" touch -amt "$timestamp" "$filename"
done done
cd - cd ..
done done
rm -- *.json rm -- *.json
cd - cd ..
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment