diff options
| author | root <root@dino.fm> | 2018-06-01 07:43:15 -0400 |
|---|---|---|
| committer | root <root@dino.fm> | 2018-06-01 07:43:15 -0400 |
| commit | 91948ccf90e5646ba630fafd631e95840bec9cf7 (patch) | |
| tree | d951692dc15a45e35bdbf80489d8020222a153c4 /bin/grid | |
| parent | 89bf3f22da292969d48ed9cd7481afb023e8ba45 (diff) | |
| parent | abff780ddb60a5218c3a463a7e257024e02476a2 (diff) | |
Merge branch 'master' of ghghgh.us:photoblaster/photoblaster
Diffstat (limited to 'bin/grid')
| -rwxr-xr-x | bin/grid | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -186,13 +186,14 @@ fi # use mpc/cache to hold input image temporarily in memory tmpA="$dir/profile_$$.mpc" tmpB="$dir/profile_$$.cache" -trap "rm -f $tmpA $tmpB; exit 0" 0 -trap "rm -f $tmpA $tmpB; exit 1" 1 2 3 15 +#trap "rm -f $tmpA $tmpB; exit 0" 0 +#trap "rm -f $tmpA $tmpB; exit 1" 1 2 3 15 # -if convert -quiet -regard-warnings "$infile" +repage "$tmpA" - then +convert "$infile" +repage "$tmpA" +if [ $? -eq 0 ]; + then : 'do nothing - continue processing below' else errMsg "--- FILE $infile DOES NOT EXIST OR IS NOT AN ORDINARY FILE, NOT READABLE OR HAS ZERO SIZE ---" |
