From 2acbb0a6e7fc9d33ab4d3fd0cb8bf7cffb56298b Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 24 Nov 2004 21:34:56 +0000 Subject: Removing build directory after creating distribution git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@936 f882894a-f735-0410-b71e-b25c423dba1c --- tools/sfsnapshot | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/sfsnapshot b/tools/sfsnapshot index a383760e..c9c56bd6 100755 --- a/tools/sfsnapshot +++ b/tools/sfsnapshot @@ -26,7 +26,7 @@ function make_dist { # Variables will be expanded locally before being run on $CF ssh $CF </dev/null) [[ -z $files ]] && die "No files created" -ssh $OUT_SERVER "rm -f $OUT/*.gz" -scp $files $OUT_SERVER:$OUT +ssh -2 $OUT_SERVER "rm -f $OUT/*.gz" +scp -2 $files $OUT_SERVER:$OUT # Create MD5 sum -ssh $OUT_SERVER << EOF +ssh -2 $OUT_SERVER << EOF cd $OUT cat <<-END_README > README This is the daily CVS snapshot of nagiosplug, consisting of the CVS HEAD -- cgit v1.2.3-74-g34f1