[interchange-cvs] interchange - kwalsh modified code/SystemTag/image.tag

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Tue Mar 4 11:27:04 EST 2008


User:      kwalsh
Date:      2008-03-04 16:27:04 GMT
Modified:  code/SystemTag image.tag
Log:
    * Quote the image filename because it might contain spaces.

Revision  Changes    Path
1.22      +3 -3      interchange/code/SystemTag/image.tag


rev 1.22, prev_rev 1.21
Index: image.tag
===================================================================
RCS file: /var/cvs/interchange/code/SystemTag/image.tag,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- image.tag	5 Aug 2007 04:44:09 -0000	1.21
+++ image.tag	4 Mar 2008 16:27:04 -0000	1.22
@@ -5,13 +5,13 @@
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.  See the LICENSE file for details.
 # 
-# $Id: image.tag,v 1.21 2007/08/05 04:44:09 kwalsh Exp $
+# $Id: image.tag,v 1.22 2008/03/04 16:27:04 kwalsh Exp $
 
 UserTag image Order     src
 UserTag image AttrAlias geometry makesize
 UserTag image AttrAlias resize makesize
 UserTag image AddAttr
-UserTag image Version   $Revision: 1.21 $
+UserTag image Version   $Revision: 1.22 $
 UserTag image Routine   <<EOR
 sub {
 	my ($src, $opt) = @_;
@@ -219,7 +219,7 @@
 					}
 				}
 				last MOGIT unless $exec;
-				system "$exec -geometry $siz $newpath";
+				system "$exec -geometry $siz '$newpath'";
 				if($?) {
 					logError("%s: Unable to mogrify image '%s'", 'image tag', $newpath);
 					last MOGIT;








More information about the interchange-cvs mailing list