projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix recording of compile errors
[gruntmaster-daemon.git]
/
gruntmaster-compile
diff --git
a/gruntmaster-compile
b/gruntmaster-compile
index bc9c4f5d252ea4f88b8ef26d33b6ce1d99efae49..35a34244c4122f63bd1fc4fce266b817d777e1d0 100755
(executable)
--- a/
gruntmaster-compile
+++ b/
gruntmaster-compile
@@
-3,8
+3,11
@@
use v5.14;
no if $] > 5.017011, warnings => 'experimental::smartmatch';
use File::Copy qw/copy/;
no if $] > 5.017011, warnings => 'experimental::smartmatch';
use File::Copy qw/copy/;
+use File::Basename qw/fileparse/;
+
+my ($format, $name) = @ARGV;
+my $basename = fileparse $name, qr/\..*/;
-my ($format, $basename, $name) = @ARGV;
my $ret = fork // die $!;
if ($ret) {
$SIG{ALRM} = sub {kill KILL => $ret};
my $ret = fork // die $!;
if ($ret) {
$SIG{ALRM} = sub {kill KILL => $ret};
This page took
0.008906 seconds
and
4
git commands to generate.