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:
@@ -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
|
||||
|
Reference in New Issue
Block a user