summaryrefslogtreecommitdiff
path: root/scripts/make-release
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-03-14 12:49:13 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2014-03-15 13:54:18 +0400
commit379e21c258d5faf0cd7c6f9208347726e14ae241 (patch)
tree893d358317a1fc9d3ef2d36bf9ca7adae44234b4 /scripts/make-release
parenta00f66ab9b3021e781695a73c579b6292501ab37 (diff)
downloadqemu-379e21c258d5faf0cd7c6f9208347726e14ae241.tar.gz
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 <crobinso@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/make-release')
-rwxr-xr-xscripts/make-release2
1 files changed, 1 insertions, 1 deletions
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}