From: Cole Robinson Date: Fri, 14 Mar 2014 16:49:13 +0000 (-0400) Subject: scripts/make-release: Don't distribute .git directories X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=379e21c25;p=qemu.git scripts/make-release: Don't distribute .git directories [crobinso@localhost qemu-2.0.0-rc0]$ find . -name .git ./dtc/.git ./pixman/.git This is already done for the rom submodules. https://bugs.launchpad.net/qemu/+bug/1224414 Signed-off-by: Cole Robinson Signed-off-by: Michael Tokarev --- diff --git a/scripts/make-release b/scripts/make-release index 196c755f57..186358dc7e 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -18,7 +18,7 @@ git clone "${src}" ${destination} pushd ${destination} git checkout "v${version}" git submodule update --init -rm -rf .git roms/*/.git +rm -rf .git roms/*/.git dtc/.git pixman/.git popd tar cfj ${destination}.tar.bz2 ${destination} rm -rf ${destination}