process-archive.sh now understands arguments...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-07-03 03:14:40 +04:00
parent 2a4ab756c1
commit 44517bcd44

View File

@ -1,6 +1,12 @@
#!/bin/bash
if [ $1 ] ; then
ARCHIVE_ROOT="$1"
else
ARCHIVE_ROOT="."
fi
echo "Doing: \"$ARCHIVE_ROOT\""
METADATA_DIR="metadata"
@ -40,6 +46,7 @@ SIZE=900
COMPRESSION=90
# XXX remove this in production...
PATH=$PATH:/mnt/d/Program\ Files/vips/bin/
# makepreview SIZE IN OUT