From bd4dfdee79dddf29a3e15cfa646386ab147dbe04 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Thu, 7 Aug 2014 09:42:47 +1000 Subject: [PATCH] Remove _trial_temp* directories and *.orig files from TARDIR --- site_ansto/instrument/deploySICS.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site_ansto/instrument/deploySICS.sh b/site_ansto/instrument/deploySICS.sh index cd937a5a..1d26b95d 100755 --- a/site_ansto/instrument/deploySICS.sh +++ b/site_ansto/instrument/deploySICS.sh @@ -246,6 +246,10 @@ cat $SRCDIR/MANIFEST.TXT $SRCDIR/$INSTSRC/MANIFEST.TXT > $TEMPDIR/$DESTDIR/${NEW cd $TEMPDIR # remove any .svn directories rm -rf $(find $TARDIR -type d -name .svn) +# remove any unit test directories +find $TARDIR -type d -name _trial_temp\* -exec rm -rf {} \; +# remove any temporary .orig files +find $TARDIR -type f -name \*.orig -exec rm {} \; # remove any temporary editor files find $TARDIR -type f -name .\*.sw\? -exec rm {} \; # remove any editor backup files directories