2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00

handle bind/bind9 being a git repo

This commit is contained in:
Mark Andrews
2016-09-20 09:50:39 +10:00
parent e675b66359
commit db031fd137

View File

@@ -97,6 +97,12 @@ case $# in
;;
esac
if test -d bind/bind9/.git
then
cp util/Makefile.git bind/Makefile.in
cd bind/bind9
git checkout $BINDTAG && git pull
else
# Delete all previous bind stuff
rm -rf bind
@@ -127,4 +133,4 @@ mm=${MAJORVER}.${MINORVER}
# move the tar file to a known place for use by the make dist command
echo Moving tar file to bind.tar.gz for distribution
mv bind-${mm}*.tar.gz bind.tar.gz
fi