git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perl: deobfuscate the year of v5.8 stability end
[sheet.git]
/
tools
/
mktermcol-xcolor
diff --git
a/tools/mktermcol-xcolor
b/tools/mktermcol-xcolor
index c705093924dc96748f18a56683d6863e285a390a..c59b7312150ad163228069163583243044450790 100755
(executable)
--- a/
tools/mktermcol-xcolor
+++ b/
tools/mktermcol-xcolor
@@
-1,7
+1,7
@@
#!/usr/bin/env perl
use 5.014;
#!/usr/bin/env perl
use 5.014;
-
-BEGIN { push @INC, '.'; }
+use warnings;
+use lib $0 =~ s{[^/]+$}{..}r; # project root
use Shiar_Sheet::Colour 1.05;
say "# automatically generated by $0";
use Shiar_Sheet::Colour 1.05;
say "# automatically generated by $0";