r15099: An attempt to fix BSD make portability issues. With these changes Samba 4...
[tprouty/samba.git] / source4 / script / buildtree.pl
index 41cbb3ad765568f123ecb858023409ee68310ff1..be5170e7d1e9d34b4b161aa06dcbe8ed6aa862df 100644 (file)
@@ -1,5 +1,5 @@
-#! /usr/bin/perl -w
-    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
+#! /usr/bin/env perl -w
+    eval 'exec /usr/bin/env perl -S $0 ${1+"$@"}'
         if 0; #$running_under_some_shell
 
 use strict;