summaryrefslogtreecommitdiff
path: root/textproc/eqe/files/patch-src-eqedit
blob: b735e4d6dd9488f3cc5f84d4754b336e26323f90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- 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)
     {