Skip to content

Commit

Permalink
install: install: Enable trace when running install via CI
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Mar 8, 2022
1 parent a9aeb6c commit 3725297
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ get_options "$@"
# Exit immediately if a command exits with a non-zero status
set -e

# Enable command trace when running over CI
if [ $RUNNING_IN_CI -eq 1 ]
then
set -x
fi

# Check if the script is running in a supported architecture
SUPPORTED_ARCHITECTURES=(
"armhf" # Pi, Pi2, Pi3, Pi4
Expand Down

0 comments on commit 3725297

Please sign in to comment.