Skip to content

Commit 8c73534

Browse files
committed
create-appimages.sh: print errors bold/red
The errors are not fatal unless in CI but user should be notified.
1 parent 05187ea commit 8c73534

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

data/scripts/Linux-AppImage/create-appimage.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ umask 022
2121

2222
# soft fail - fail in CI, otherwise continue
2323
handle_error() {
24+
red=1
25+
tput setaf $red || true
26+
tput bold || true
2427
echo "$1" >&2
28+
tput sgr0 || true
2529
if [ -n "${GITHUB_REPOSITORY:-}" ]; then
2630
exit 2
2731
fi

0 commit comments

Comments
 (0)