From: W.C.A. Wijngaards Date: Wed, 1 May 2019 10:47:53 +0000 (+0200) Subject: fixup to remove .git from makedist tarballs. X-Git-Tag: release-1.9.2rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e334e81384d4918947bf69ac74e825869d29bb;p=thirdparty%2Funbound.git fixup to remove .git from makedist tarballs. --- diff --git a/makedist.sh b/makedist.sh index 87892293a..f538f8d02 100755 --- a/makedist.sh +++ b/makedist.sh @@ -317,6 +317,7 @@ if [ "$DOWIN" = "yes" ]; then info "git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound" git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound || error_cleanup "git clone failed" cd unbound || error_cleanup "Unbound not exported correctly from git" + rm -rf .git || error_cleanup "Failed to remove .git tracking information" # on a re-configure the cache may no longer be valid... if test -f mingw32-config.cache; then rm mingw32-config.cache; fi @@ -458,6 +459,7 @@ info "git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound" git clone --depth=1 --no-tags -b $GITBRANCH $GITREPO unbound || error_cleanup "git clone failed" cd unbound || error_cleanup "Unbound not exported correctly from git" +rm -rf .git || error_cleanup "Failed to remove .git tracking information" info "Adding libtool utils (libtoolize)." libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed."