]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add comment 14702/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Sep 2024 12:05:41 +0000 (14:05 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 23 Sep 2024 13:50:11 +0000 (15:50 +0200)
builder-support/post-build

index b2bc0883156616b9de3abd30511d09a684d63d68..b97d254ab100fd9d450b676e8322b2b637e27dd6 100755 (executable)
@@ -17,6 +17,9 @@ if ! $tar --version | grep -q GNU; then
     exit 1
 fi
 
+# pdns (auth) is handled seperately, it needs a special find condition which is hard to do with
+# vars, as we don't want the asterisks to expand prematurely. So repeat the body of the loop below
+# with a find condition for pdns to exclude accidentally matching pdns-recursor*.
 for prog in pdns-recursor dnsdist; do
   if [ $(find ${SRCDIR}/dist -name "${prog}*" 2>/dev/null | wc -l) -ne 0 ]; then
     dst=${DESTDIR}/${prog}/${BUILDER_VERSION}