diff --git a/build-scripts/travis.sh b/build-scripts/travis.sh index a7b6a4b82b7b..4b9eaa97ad47 100755 --- a/build-scripts/travis.sh +++ b/build-scripts/travis.sh @@ -384,6 +384,10 @@ install_dnsdist() { run "sudo chmod 0755 /var/agentx" } +check_for_dangling_symlinks() { + run '! find -L . -name missing-sources -prune -o ! -name pubsuffix.cc -type l | grep .' +} + build_auth() { run "autoreconf -vi" run "./configure \ @@ -422,6 +426,9 @@ build_ixfrdist() { build_recursor() { export PDNS_RECURSOR_DIR=$HOME/pdns_recursor + run "cd pdns/recursordist" + check_for_dangling_symlinks + run "cd ../.." # distribution build run "./build-scripts/dist-recursor" run "cd pdns/recursordist" @@ -442,6 +449,9 @@ build_recursor() { } build_dnsdist(){ + run "cd pdns/dnsdistdist" + check_for_dangling_symlinks + run "cd ../.." run "./build-scripts/dist-dnsdist" run "cd pdns/dnsdistdist" run "tar xf dnsdist*.tar.bz2"