Browse Source

Delete temp files in a case of error

master
Pekka Helenius 5 years ago
parent
commit
2cb1d49b23
4 changed files with 9 additions and 2 deletions
  1. +0
    -2
      README.md
  2. +3
    -0
      arch/updatewine_arch.sh
  3. +3
    -0
      debian/dxvkroot/dxvkbuild.sh
  4. +3
    -0
      debian/wineroot/winebuild.sh

+ 0
- 2
README.md View File

@ -354,8 +354,6 @@ Git commit freezing used for DXVK & meson. Reasons:
- Add info about selected commits and branches (if they have not been set to default) - Add info about selected commits and branches (if they have not been set to default)
- Remove temp folders in case of failure (meson/glslang/dxvk-git/wine... temp build folders)
- Unify error & warning messages layout, unify internal variable & function names - Unify error & warning messages layout, unify internal variable & function names
- Common script clean-up - Common script clean-up


+ 3
- 0
arch/updatewine_arch.sh View File

@ -112,6 +112,9 @@ function Arch_intCleanup() {
# Allow interruption of the script at any time (Ctrl + C) # Allow interruption of the script at any time (Ctrl + C)
trap "Arch_intCleanup" INT trap "Arch_intCleanup" INT
# Error event
trap "Arch_intCleanup" ERR
########################################################### ###########################################################
# Check existence of ccache package # Check existence of ccache package


+ 3
- 0
debian/dxvkroot/dxvkbuild.sh View File

@ -196,6 +196,9 @@ function DXVK_intCleanup() {
# Allow interruption of the script at any time (Ctrl + C) # Allow interruption of the script at any time (Ctrl + C)
trap "DXVK_intCleanup" INT trap "DXVK_intCleanup" INT
# Error event
trap "DXVK_intCleanup" ERR
######################################################## ########################################################
# http://wiki.bash-hackers.org/snipplets/print_horizontal_line#a_line_across_the_entire_width_of_the_terminal # http://wiki.bash-hackers.org/snipplets/print_horizontal_line#a_line_across_the_entire_width_of_the_terminal


+ 3
- 0
debian/wineroot/winebuild.sh View File

@ -368,6 +368,9 @@ function Wine_intCleanup() {
# Allow interruption of the script at any time (Ctrl + C) # Allow interruption of the script at any time (Ctrl + C)
trap "Wine_intCleanup" INT trap "Wine_intCleanup" INT
# Error event
trap "Wine_intCleanup" ERR
######################################################## ########################################################
# This is specifically for Debian # This is specifically for Debian


Loading…
Cancel
Save