mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-04 08:15:14 +00:00
handle bind/bind9 being a git repo
This commit is contained in:
@@ -97,6 +97,12 @@ case $# in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
# Delete all previous bind stuff
|
||||||
rm -rf bind
|
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
|
# 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
|
echo Moving tar file to bind.tar.gz for distribution
|
||||||
mv bind-${mm}*.tar.gz bind.tar.gz
|
mv bind-${mm}*.tar.gz bind.tar.gz
|
||||||
|
fi
|
||||||
|
Reference in New Issue
Block a user