]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
makedist fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 15 Jan 2008 15:47:16 +0000 (15:47 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 15 Jan 2008 15:47:16 +0000 (15:47 +0000)
git-svn-id: file:///svn/unbound/trunk@865 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
makedist.sh

index 84d4945f64615c75fc171acba53c8430ce1680be..e014db2f6f46059c6605d75d451ad63f704ac250 100644 (file)
@@ -4,6 +4,7 @@
        - removed debug prints.
        - porting experience, define for Solaris, test refined for BSD
          compatibility. The feature probably will not work on OpenBSD.
+       - makedist fixup for ldns-src in build-dir.
 
 14 January 2008: Wouter
        - in no debug sets NDEBUG to remove asserts.
index 15eb19b5f744f7c7d659b8ac600dd839a806d287..7878f28cdfcb554869f07d1cc57e07eb4c2f040f 100755 (executable)
@@ -146,7 +146,9 @@ if test -z "$LDNSDIR"; then
     # try to autodetect from Makefile (if present)
     if test -f Makefile; then
          eval `grep 'ldnsdir=' Makefile`
-         LDNSDIR="$ldnsdir"
+         if echo "$ldnsdir" | grep -v ldns-src/ >/dev/null 2>&1; then
+               LDNSDIR="$ldnsdir"
+         fi
     fi
 fi