From: Sam H. v. a. <we...@ma...> - 2005-08-26 18:02:34
|
Log Message: ----------- replaced $externalPrograms{netpbm} with lexical $netpbm_prefix. this will prevent netpbm from going into the cource environment (where is it not needed) and makes it clear that it is a prefix and not the path to a program. Modified Files: -------------- webwork2/conf: global.conf.dist Revision Data ------------- Index: global.conf.dist =================================================================== RCS file: /webwork/cvs/system/webwork2/conf/global.conf.dist,v retrieving revision 1.132 retrieving revision 1.133 diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.132 -r1.133 --- conf/global.conf.dist +++ conf/global.conf.dist @@ -61,12 +61,12 @@ # Basic image manipulation utilities # Most sites only need to configure the first line -$externalPrograms{netpbm} = "/usr/bin/"; # Really a prefix, rather than a program -$externalPrograms{giftopnm} = $externalPrograms{netpbm}.'giftopnm'; -$externalPrograms{ppmtopgm} = $externalPrograms{netpbm}.'ppmtopgm'; -$externalPrograms{pnmtops} = $externalPrograms{netpbm}.'pnmtops'; -$externalPrograms{pnmtopng} = $externalPrograms{netpbm}.'pnmtopng'; -$externalPrograms{pngtopnm} = $externalPrograms{netpbm}.'pngtopnm'; +my $netpbm_prefix = "/usr/bin"; +$externalPrograms{giftopnm} = "$netpbm_prefix/giftopnm"; +$externalPrograms{ppmtopgm} = "$netpbm_prefix/ppmtopgm"; +$externalPrograms{pnmtops} = "$netpbm_prefix/pnmtops"; +$externalPrograms{pnmtopng} = "$netpbm_prefix/pnmtopng"; +$externalPrograms{pngtopnm} = "$netpbm_prefix/pngtopnm"; # The following lines are the external scripts gif2eps, etc. # The source file is input with cat, and the output is redirected to |