From 66d78557a633e00c8a59404e3077abe90462fe3b Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Fri, 22 Jul 2011 19:43:29 -0400 Subject: clean up zip file when build failed --- bundles/org.eclipse.swt/buildSWT.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundles/org.eclipse.swt/buildSWT.xml') diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml index b5f8b18a0a..d49bf375f5 100644 --- a/bundles/org.eclipse.swt/buildSWT.xml +++ b/bundles/org.eclipse.swt/buildSWT.xml @@ -913,7 +913,7 @@ username="swtbuild" keyfile="${keyfile}" trust="true" - command="rm -rf ${remotetmpdir}; mkdir ${remotetmpdir}; mkdir ${lib_output}; cd ${remotetmpdir}; unzip -aa ${remotebuilddir}/${zip_file}; export MODEL=${swt.arch}; export OUTPUT_DIR=${lib_output}; if sh build.sh ${targets}; then cd; else cd; rm -rf ${remotetmpdir}; exit 1; fi"/> + command="rm -rf ${remotetmpdir}; mkdir ${remotetmpdir}; mkdir ${lib_output}; cd ${remotetmpdir}; unzip -aa ${remotebuilddir}/${zip_file}; export MODEL=${swt.arch}; export OUTPUT_DIR=${lib_output}; if sh build.sh ${targets}; then cd; else cd; rm -rf ${remotetmpdir}; rm ${remotebuilddir}/${zip_file}; exit 1; fi"/>