diff options
| author | yo mama <pepper@scannerjammer.com> | 2017-06-24 20:21:21 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2017-06-24 20:21:21 -0700 |
| commit | 95cf222e29dfce0f2c3e2771912aa007c64cd874 (patch) | |
| tree | 03fbf53c7ee89043de67afeaa6fca1af59c5a073 /bin/grid | |
| parent | bc44ea348c682f7cefcbb5302d1d5f43af80371b (diff) | |
added 3Drotate script
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 ---" |
