]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Properly checkout Net-LDNS with makedist
authorWillem Toorop <willem@nlnetlabs.nl>
Wed, 2 Oct 2013 08:51:24 +0000 (10:51 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Wed, 2 Oct 2013 08:51:24 +0000 (10:51 +0200)
contrib/Net-LDNS
makedist.sh

index 1ba90fca6924bff0b1bc789cde4c1e423ab0bd31..a2c5826fb90ca7431cbbf4a9eb7f00be6f3a5c84 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 1ba90fca6924bff0b1bc789cde4c1e423ab0bd31
+Subproject commit a2c5826fb90ca7431cbbf4a9eb7f00be6f3a5c84
index 0c3cd63b6b56b3084f44901cec210c1525c6c84b..8eba9e33c1f19c01b812dbcb25e674fcca48aec7 100755 (executable)
@@ -120,7 +120,8 @@ info "Exporting source from GIT"
 git clone git://git.nlnetlabs.nl/ldns/ || error_cleanup "git command failed"
 cd ldns || error_cleanup "LDNS not exported correctly from git"
 git checkout "$CHECKOUT" || error_cleanup "Could not checkout $CHECKOUT"
-git submodule update --init || error_cleanup "Could not checkout submodules"
+git submodule update --init || error_cleanup "Could not update submodules"
+(cd contrib/Net-LDNS; git checkout master) || error_cleanup "Could not checkout Net-LDNS contribution"
 
 info "Running  Libtoolize script (libtoolize)."
 libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed."
@@ -139,6 +140,7 @@ rm -r autom4te* drill/autom4te* examples/autom4te* || error_cleanup "Failed to r
 # custom removes
 find . -name .c-mode-rc.el -exec rm {} \;
 find . -name .cvsignore -exec rm {} \;
+find . -name ".git*" -exec rm -fr {} \;
 rm -rf lua 
 rm -rf masterdont 
 rm makedist.sh || error_cleanup "Failed to remove makedist.sh."