Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove -T from ikiwiki.in, add back if NOTAINT=0

  • Loading branch information...
commit 7825960d310977d1ae6fd9ab31d76b611c0f91e8 1 parent 6e6e37b
Joey Hess authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  ikiwiki.in
  2. +2 −2 pm_filter
View
2  ikiwiki.in
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/bin/perl
$ENV{PATH}="/usr/local/bin:/usr/bin:/bin";
delete @ENV{qw{IFS CDPATH ENV BASH_ENV}};
View
4 pm_filter
@@ -25,8 +25,8 @@ elsif (/^use lib/) {
$_="use lib '$libdir';\n";
}
}
-elsif ($. == 1 && ($ENV{NOTAINT} || ! exists $ENV{NOTAINT}) && m{^(#!.*perl.*?) -T$}) {
- $_=qq{$1\n};
+elsif ($. == 1 && ($ENV{NOTAINT}=0) && m{^(#!.*perl.*?)$}) {
+ $_=qq{$1 -T\n};
}
elsif (/^\$ENV{PATH}="(.*)";/) {
$_="\$ENV{PATH}=\"$1:$prefix/bin\";\n";
Please sign in to comment.
Something went wrong with that request. Please try again.