summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorHolger Wansing <hwansing@mailbox.org>2019-02-13 05:45:28 +0100
committerHolger Wansing <hwansing@mailbox.org>2019-02-13 05:45:28 +0100
commit153c2980f22a1b2659c3327ce5c7344a7cd96aef (patch)
tree68c0bf6d641f7bf612bd4fba5e9121cb8dc5b732 /build
parent1a605ada5a261bf1ba22899d5c29b4aa8baf7bb0 (diff)
downloadinstallation-guide-153c2980f22a1b2659c3327ce5c7344a7cd96aef.zip
Revert latest 'Improve build chain' commit. It breaks the build.sh script.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/buildone.sh3
-rwxr-xr-xbuild/buildone_ng.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/build/buildone.sh b/build/buildone.sh
index 6e68c2029..3b8dc442c 100755
--- a/build/buildone.sh
+++ b/build/buildone.sh
@@ -240,7 +240,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"
@@ -256,6 +255,8 @@ for format in $formats ; do
esac
done
+# Clean up
+rm -r $tempdir
# Evaluate the overall results
[ -n "$BUILD_SKIP" ] && echo "Info: The following formats were skipped:$BUILD_SKIP"
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