commit 58d2cfa96a937a4efc7ba27c475ff216fe4af4b3
parent 9d37f1e78308ab40c12724db996004707906f7cc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 13 Oct 2017 15:29:05 +0200
Fix the Solstice-ABG-rsrc.zip generation
The files were archived under the full path of the host machine used to
create the archive.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/solstice.sh b/solstice.sh
@@ -78,7 +78,9 @@ fi
if [ ! -f downloads/Solstice-ABG-rsrc.zip ]; then
do_something=1
echo "Archive the resources of the Solstice Absolute Beginner's Guide"
- zip -r downloads/Solstice-ABG-rsrc.zip $2/source_files/*
+ cd $2
+ zip -r $dir_curr/downloads/Solstice-ABG-rsrc.zip source_files/*
+ cd $dir_curr
fi
if [ $do_something == 0 ]; then