Skip to content

Commit

Permalink
travis: complain about dangling symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Oct 5, 2018
1 parent 3527828 commit d5d421b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build-scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit d5d421b

Please sign in to comment.