Commit 629595f1 authored by King Alex's avatar King Alex

Update GallerieImagesHTTP.sh: ajout de changement de DIR pour etre dans le...

Update GallerieImagesHTTP.sh: ajout de changement de DIR pour etre dans le fichier courant lors de la creation de l'archive.
parent d11b6ce7
......@@ -121,6 +121,7 @@ ARCHIVE=${ARCHIVE:-Y}
case $ARCHIVE in
Y)
echo "Creating archive..."
cd $DIR
DATE=`date +%d-%m-%Y_%H-%M-%S`
tar -czvf vignettes-$DATE.tgz index.html images thumbnails
echo "Complete"
......
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