From 1a605ada5a261bf1ba22899d5c29b4aa8baf7bb0 Mon Sep 17 00:00:00 2001 From: Holger Wansing Date: Tue, 12 Feb 2019 10:58:58 +0100 Subject: Improve build chain: remove tmpdir only if built without errors. That gives possibility to use tmpdir files for debugging build errors. --- build/buildone_ng.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build/buildone_ng.sh') diff --git a/build/buildone_ng.sh b/build/buildone_ng.sh index a2fb0ffee..d0c5b6b53 100755 --- a/build/buildone_ng.sh +++ b/build/buildone_ng.sh @@ -260,6 +260,7 @@ for format in $formats ; do case $RET in 0) BUILD_OK="$BUILD_OK $format" + rm -r $tempdir # Clean up tmp directory, if no build errors ;; 9) BUILD_FAIL="$BUILD_FAIL $format" @@ -275,8 +276,6 @@ for format in $formats ; do esac done -# Clean up -rm -r $tempdir # Delete temporary PO files and generated XML files clear_po clear_xml -- cgit v1.2.3 From 153c2980f22a1b2659c3327ce5c7344a7cd96aef Mon Sep 17 00:00:00 2001 From: Holger Wansing Date: Wed, 13 Feb 2019 05:45:28 +0100 Subject: Revert latest 'Improve build chain' commit. It breaks the build.sh script. --- build/buildone_ng.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build/buildone_ng.sh') diff --git a/build/buildone_ng.sh b/build/buildone_ng.sh index d0c5b6b53..3fb46f973 100755 --- a/build/buildone_ng.sh +++ b/build/buildone_ng.sh @@ -260,7 +260,6 @@ for format in $formats ; do case $RET in 0) BUILD_OK="$BUILD_OK $format" - rm -r $tempdir # Clean up tmp directory, if no build errors ;; 9) BUILD_FAIL="$BUILD_FAIL $format" @@ -276,6 +275,9 @@ for format in $formats ; do esac done +# Clean up +rm -r $tempdir + # Delete temporary PO files and generated XML files clear_po clear_xml -- cgit v1.2.3