Changeset 25798
- Timestamp:
- 2012-06-19T21:37:38+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r24763 r25798 838 838 $status >>= 8; 839 839 $status = (($status & 0x80) ? -(0x100 - ($status & 0xFF)) : $status); 840 if ($status == -1 || $status == 1) { #if ($status == -1 || $status == 256) { 840 if (($ENV{'GSDLOS'} ne "windows" && $status == -1) || ($ENV{'GSDLOS'} eq "windows" && $status == 1)) { 841 # if ($status == -1 || $status == 1) #if ($status == -1 || $status == 256) { 841 842 #ImageMagick is not installed, thus the convert utility is not available. 842 print STDERR "*** ImageMagick is not installed, the convert utility is not available. Unable to convert PDF/PS to images \n";843 print STDERR "*** ImageMagick is not installed, the convert utility is not available. Unable to convert PDF/PS to images. Status: $status\n"; 843 844 return 0; 844 845 }
Note:
See TracChangeset
for help on using the changeset viewer.