Skip to content

Commit 1e9fe08

Browse files
committed
set euo pipefail on all scripts
1 parent edb60d8 commit 1e9fe08

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

pkgbuild/scripts/postinstall

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -euo pipefail
4+
35
RUNNING_MARKER_FILE="/tmp/coder_desktop_running"
46

57
LAUNCH_DAEMON_PLIST_SRC="/Applications/Coder Desktop.app/Contents/Library/LaunchDaemons"

pkgbuild/scripts/preinstall

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -euo pipefail
4+
35
RUNNING_MARKER_FILE="/tmp/coder_desktop_running"
46
LAUNCH_DAEMON_NAME="com.coder.Coder-Desktop.Helper"
57

scripts/upsert-dev-helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# /Applications/Coder/Coder Desktop.app, which is where the local build is
55
# installed.
66

7-
set -euox pipefail
7+
set -euxo pipefail
88

99
LAUNCH_DAEMON_PLIST_SRC="/Applications/Coder/Coder Desktop.app/Contents/Library/LaunchDaemons"
1010
LAUNCH_DAEMON_PLIST_DEST="/Library/LaunchDaemons"

0 commit comments

Comments
 (0)