summaryrefslogtreecommitdiffstats
path: root/testsuite/build_farm
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-22 23:59:48 +0000
committerMartin Pool <mbp@samba.org>2001-11-22 23:59:48 +0000
commitfa7367a9731bc139ff4611f2781f3ca9bc7f89a7 (patch)
treea9473b996004ad4b54cdeaf60010c63b281067c8 /testsuite/build_farm
parent646651018a2736833e49e76f6ca735a4647d9746 (diff)
downloadsamba-fa7367a9731bc139ff4611f2781f3ca9bc7f89a7.tar.gz
samba-fa7367a9731bc139ff4611f2781f3ca9bc7f89a7.tar.xz
samba-fa7367a9731bc139ff4611f2781f3ca9bc7f89a7.zip
Rename $pwd to $test_root to avoid future confusion.
Diffstat (limited to 'testsuite/build_farm')
-rw-r--r--testsuite/build_farm/basicsmb.fns7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns
index 5c5d82b00f1..5c3ab9b90ca 100644
--- a/testsuite/build_farm/basicsmb.fns
+++ b/testsuite/build_farm/basicsmb.fns
@@ -2,7 +2,7 @@
# Common functions for Samba build scripts.
-# Copyright (C) 2001 by Martin Pool <mbp@samba.org>
+# Copyright (C) 2001 by Martin Pool <mbp@samba.org> and others
# The following variables are passed in by the calling script. They
# originate in either the buildfarm scripts or the configured
@@ -24,7 +24,7 @@
template_smb_conf_setup() {
cat basicsmb.smb.conf$1.template | \
sed "s|PREFIX|$prefix|g" | \
- sed "s|BUILD_FARM|$pwd|g" | \
+ sed "s|BUILD_FARM|$test_root|g" | \
sed "s|WHOAMI|$whoami|g" | \
sed "s|LOGLEVEL|$loglevel|g" \
> $prefix/lib/smb.conf$1
@@ -34,7 +34,7 @@ template_smb_conf_setup() {
test_smb_conf_setup() {
echo "test_smb_conf_setup: Configuring: "
echo " PREFIX=$prefix"
- echo " BUILD_FARM=$pwd"
+ echo " BUILD_FARM=$test_root"
echo " WHOAMI=$whoami"
echo " LOGLEVEL=$loglevel"
echo " TREE=$tree"
@@ -153,4 +153,3 @@ then
loglevel=1
fi
-# NB $pwd is not really `pwd`