From 170470e31973c67696908d03215ea81bd6097cf6 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Wed, 1 Apr 2009 12:36:38 +0000
Subject: [PATCH] LMS-803 remove zip files after their had been copied

SVN: 10523
---
 openbis_all/source/bash/build_snapshot.sh | 1 +
 openbis_all/source/bash/tag_and_build.sh  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/openbis_all/source/bash/build_snapshot.sh b/openbis_all/source/bash/build_snapshot.sh
index 83dd9114a07..a2f02650958 100755
--- a/openbis_all/source/bash/build_snapshot.sh
+++ b/openbis_all/source/bash/build_snapshot.sh
@@ -15,6 +15,7 @@ echo Building openBIS...
 echo Copying new openBIS components to \'$SPRINT_SERVER\'...
 scp openBIS-server-*.zip $SPRINT_SERVER:.
 scp datastore_server-*.zip $SPRINT_SERVER:.
+rm -f *.zip
 
 # If sprint install script is present and executable, run it!
 if [ -x $SPRINT_INSTALL_SCRIPT ]; then
diff --git a/openbis_all/source/bash/tag_and_build.sh b/openbis_all/source/bash/tag_and_build.sh
index 063a2805039..f798f88cfc7 100755
--- a/openbis_all/source/bash/tag_and_build.sh
+++ b/openbis_all/source/bash/tag_and_build.sh
@@ -38,6 +38,7 @@ echo "chmod g+w -R $SPRINT_DIR" | ssh -T $CISD_SERVER
 echo Copying new openBIS components to \'$SPRINT_SERVER\'...
 scp openBIS-server-*.zip $SPRINT_SERVER:.
 scp datastore_server-*.zip $SPRINT_SERVER:.
+rm -f *.zip
 
 # If sprint install script is present and executable, run it!
 if [ -x $SPRINT_INSTALL_SCRIPT ]; then
-- 
GitLab