Skip to content

Commit

Permalink
Add errexit bash option to setup scripts (#323)
Browse files Browse the repository at this point in the history
For easier debugging. Otherwise they just keep executing after a failed command.
  • Loading branch information
CyanoKobalamyne authored Jul 4, 2024
1 parent 96cef17 commit c980d66
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci-scripts/setup-msat.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DEPS=$DIR/../deps
Expand Down
1 change: 1 addition & 0 deletions contrib/setup-bison.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DEPS=$DIR/../deps
Expand Down
2 changes: 1 addition & 1 deletion contrib/setup-btor2tools.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

BTOR2TOOLS_VERSION=9831f9909fb283752a3d6d60d43613173bd8af42

Expand Down Expand Up @@ -29,4 +30,3 @@ else
echo "Please see their github page for installation instructions: https://github.com/Boolector/btor2tools.git"
exit 1
fi

2 changes: 1 addition & 1 deletion contrib/setup-coreir.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

COREIR_VERSION=2f5035c6712481346c20c0a9956dc3f880cac1d2

Expand Down Expand Up @@ -76,4 +77,3 @@ else
echo "Please see their github page for installation instructions:https://github.com/rdaly525/coreir"
exit 1
fi

1 change: 1 addition & 0 deletions contrib/setup-flex.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DEPS=$DIR/../deps
Expand Down
1 change: 1 addition & 0 deletions contrib/setup-ic3ia.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DEPS=$DIR/../deps
Expand Down
1 change: 1 addition & 0 deletions contrib/setup-smt-switch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DEPS=$DIR/../deps
Expand Down

0 comments on commit c980d66

Please sign in to comment.