summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-16 16:43:10 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-16 18:55:40 +0100
commitcb2fbdd4b47aa5256d365ca3678e14e17adbe721 (patch)
tree9f888b5c33b1f992969b88c36bdfc1dd14cc7896
parent13182e792a78c4b32eea95f14c3bc84ca340ef72 (diff)
downloadsamba-cb2fbdd4b47aa5256d365ca3678e14e17adbe721.tar.gz
samba-cb2fbdd4b47aa5256d365ca3678e14e17adbe721.tar.bz2
samba-cb2fbdd4b47aa5256d365ca3678e14e17adbe721.zip
s3-install: Don't let MANDIR and SRCDIR be overwritten
In installman.sh, we get them via cmd line args Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 16 18:55:40 CET 2012 on sn-devel-104
-rwxr-xr-xsource3/script/installman.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/script/installman.sh b/source3/script/installman.sh
index ab9bfe506d..2f79996807 100755
--- a/source3/script/installman.sh
+++ b/source3/script/installman.sh
@@ -20,7 +20,8 @@ fi
# Get the configured feature set
test -f "${SRCDIR}/config.log" && \
- eval `grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log"`
+ eval `grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log" |
+ grep -v ^MANDIR | grep -v ^SRCDIR`
for lang in $langs; do
if [ "X$lang" = XC ]; then