s3-install: Don't let MANDIR and SRCDIR be overwritten
authorVolker Lendecke <vl@samba.org>
Mon, 16 Jan 2012 15:43:10 +0000 (16:43 +0100)
committerVolker Lendecke <vlendec@samba.org>
Mon, 16 Jan 2012 17:55:40 +0000 (18:55 +0100)
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

source3/script/installman.sh

index ab9bfe506decb14730a1a7ce6e42005a9a25c134..2f799968073b4c68df3f36916932e097966c8ab1 100755 (executable)
@@ -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