From: Ian Jackson Date: Sun, 22 May 2022 19:24:34 +0000 (+0100) Subject: usvg-processor: Print the command we run X-Git-Tag: otter-1.1.0~25 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7668562ce12ac471c6f72ef94e9e7615ea3245d5;p=otter.git usvg-processor: Print the command we run 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 --- diff --git a/usvg-processor b/usvg-processor index 44430e0c..58f3042a 100755 --- 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': $!";