]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdns-builder: don't run post-build if building docs
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 8 Jun 2018 14:38:36 +0000 (16:38 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 27 Sep 2018 11:59:31 +0000 (13:59 +0200)
builder-support/post-build

index aefc8969260ecd991df0e924555b158ede8bcf86..b4baf3796dff7c1237c88343fd609273203a0e95 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+if [[ "${BUILDER_TARGET}" =~ ^doc.* ]]; then
+  exit 0
+fi
+
 SRCDIR="${BUILDER_TMP}/${BUILDER_VERSION}/${BUILDER_TARGET}"
 DESTDIR="built_pkgs/"