r7940: use local path first for ldbadd in provisioning
authorAndrew Tridgell <tridge@samba.org>
Mon, 27 Jun 2005 05:46:45 +0000 (05:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:53 +0000 (13:18 -0500)
source/setup/provision.pl

index c0b5a6ea0b0ac54542906c9f18598ab10d2e9c6b..fcd3b646d157edba53af7d4f981204cb4790f275 100755 (executable)
@@ -402,7 +402,7 @@ if (!$opt_adminpass) {
 }
 
 # allow provisioning to be run from the source directory
-$ENV{"PATH"} .= ":bin:../bin";
+$ENV{"PATH"} = "bin:../bin:" . $ENV{"PATH"};
 
 
 my $res = apply_substitutions($data);