mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
process-archive.sh now understands arguments...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2a4ab756c1
commit
44517bcd44
@ -1,6 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
ARCHIVE_ROOT="."
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user