summaryrefslogtreecommitdiff
path: root/source4/script/buildtree.pl
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-04-17 07:04:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:08 -0500
commit573b2f75fbc1de1572ac885804a94ff8ae7d499a (patch)
treea1a0327b7c9572ffbc8f42f756a2c8e11e14426c /source4/script/buildtree.pl
parent84c6dea9b7e0a77368b8c50dbffd4045cda33805 (diff)
downloadsamba-573b2f75fbc1de1572ac885804a94ff8ae7d499a.tar.gz
samba-573b2f75fbc1de1572ac885804a94ff8ae7d499a.tar.bz2
samba-573b2f75fbc1de1572ac885804a94ff8ae7d499a.zip
r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d71b06166e0384950df83061a4677b8)
Diffstat (limited to 'source4/script/buildtree.pl')
-rw-r--r--source4/script/buildtree.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/script/buildtree.pl b/source4/script/buildtree.pl
index 41cbb3ad76..be5170e7d1 100644
--- a/source4/script/buildtree.pl
+++ b/source4/script/buildtree.pl
@@ -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;