Fix directory management mistake in previous commit

parent c72f7f8a
...@@ -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 "$branch/macosx.json" wget --no-verbose "$branch/macosx.json"
wget --no-verbose "$branch/source.json" wget --no-verbose "$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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment