chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d1582
)
usvg-processor: Print the command we run
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 22 May 2022 19:24:34 +0000
(20:24 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 22 May 2022 19:41:45 +0000
(20:41 +0100)
We're going to bury some extra option addition here, but it should be
visibile. Ah well, the build log ever grows.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
usvg-processor
patch
|
blob
|
history
diff --git
a/usvg-processor
b/usvg-processor
index 44430e0cc590cc3f651ea42b7a5c498b45389ee4..58f3042a8a5d3ba3fef4374d2c6e9b938788cfd7 100755
(executable)
--- a/
usvg-processor
+++ b/
usvg-processor
@@
-28,5
+28,7
@@
add_lic();
flush STDOUT or die $!;
my $cmd = "$usvg - -c";
my $cmd_m = "$cmd <$in >$out.tmp";
+print STDERR "+ $cmd_m\n";
+
$!=0; $?=0; system qw(sh -ec), "exec $cmd" and die "exec usvg: $cmd_m: $? $!";
rename "$out.tmp", $out or die "'$cmd_m': $!";