25 lines
820 B
Text
25 lines
820 B
Text
--- src/eqedit.orig 2015-11-11 17:56:50 UTC
|
|
+++ src/eqedit
|
|
@@ -364,10 +364,10 @@ exit 0;
|
|
|
|
sub command
|
|
{
|
|
- my @com = @_; #(@_, " >> $options->{log} 2>\&1");
|
|
+ my @com = (@_, " >> $options->{log} 2>\&1");
|
|
my $com = join ' ', @com;
|
|
- $options->verbose and mywarn "executing $com\n";
|
|
- redirect_to_log($options->{log}, sub {system @com}) and mydie "command '$com' failed with error code $?";
|
|
+ $options->verbose and print "executing $com\n";
|
|
+ system $com and mydie "command '$com' failed with error code $?";
|
|
}
|
|
|
|
sub find_template
|
|
@@ -506,7 +506,7 @@ sub convert
|
|
|
|
if (@transparent or @res or not same_ext($in, $out))
|
|
{
|
|
- command 'convert', '-comment', $comment, @res, @transparent, $in, $out;
|
|
+ command 'convert', @res, @transparent, $in, $out;
|
|
}
|
|
elsif ($in ne $out)
|
|
{
|