summaryrefslogtreecommitdiff
path: root/makezip.sh
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-04-07 11:30:57 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-04-07 11:30:57 +0000
commita816843769b69d256544a29980f40ef75bffde4f (patch)
treef405374305510a9b2f44bdcba83dae0962804219 /makezip.sh
parent287ebe2383513f6def095f16f5f950895e038d2a (diff)
makezip: fix cleanups
blow away the zip file, spec file without extension is never here. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@358 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to 'makezip.sh')
-rwxr-xr-xmakezip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makezip.sh b/makezip.sh
index d6cb68f..de423ea 100755
--- a/makezip.sh
+++ b/makezip.sh
@@ -1,5 +1,5 @@
export SPECDOC=${SPECDOC:-`cat REVISION`}
-rm -f $SPECDOC
+rm -f $SPECDOC.zip
if test -d .git; then
git archive --format=zip --prefix=tex/ -o $SPECDOC.zip HEAD
elif test -d .svn; then