This commit is contained in:
Michael Stangl
2012-09-21 11:05:50 +02:00
parent 621e2f2fe0
commit 4900c8027f
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ Usage: `basename $0` [-h] [-i] [-j nb_jobs] command arg_list
-h Shows this help
-c give the path to the cfg file
-i give the path of the svg files without the last /
-k chek if the jpg already exist
-k check if the jpg already exist
-b set the background to transparent
-s set the sleeptime while there are too many simultanious jobs
-j Set number of simultanious jobs. Default is 2
@@ -124,7 +124,7 @@ do
echo $PIC_NAME exists
else
RESIZE="${width}x${height}"
SWITCHES="-density $density $BACKGROUND$INPUT_FILE/$ID -resize $RESIZE $FILE_PATH"
SWITCHES="-density $density"'x'"$density $BACKGROUND$INPUT_FILE/$ID -resize $RESIZE $INPUT_FILE/$PIC_NAME.$format"
CMDLINE="$CMD $SWITCHES"
echo $CMDLINE
(echo $ID; $CMDLINE) &