aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/klibc/klibc-1.5.20/use-env-for-perl.patch
blob: 8609864251a2f7ab41c7605f22cc215c52f781fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 klcc/makeklcc.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: klibc-1.5.20/klcc/makeklcc.pl
===================================================================
--- klibc-1.5.20.orig/klcc/makeklcc.pl
+++ klibc-1.5.20/klcc/makeklcc.pl
@@ -26,7 +26,7 @@ sub pathsearch($) {
     return undef;
 }
 
-print "#!${perlpath}\n";
+print "#!/usr/bin/env perl\n";
 
 open(KLIBCCONF, "< $klibcconf\0")
     or die "$0: cannot open $klibcconf: $!\n";