Skip to content

Commit c3ae7e7

Browse files
committed
remove set -e to avoid install failure
1 parent 1416dbb commit c3ae7e7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Mac/BuildScript/scripts/postflight.patch-profile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
PYVER=@PYVER@
44
PYTHON_ROOT="/Library/Frameworks/Python.framework/Versions/@PYVER@"
55

6-
set -e
76

87
# Run from the installer, do some trickery to fetch the information
98
# we need.
@@ -30,7 +29,6 @@ case "${BSH}" in
3029

3130
# Drop privileges while writing files.
3231
su -m ${USER} <<EOFC
33-
set -e
3432
# Create backup copy before patching
3533
if [ -f "${RC}" ]; then
3634
cp -fp "${RC}" "${RC}.pysave"
@@ -63,7 +61,6 @@ fish)
6361

6462
# Drop privileges while writing files.
6563
su -m ${USER} <<EOFF
66-
set -e
6764
mkdir -p "$CONFIG_DIR"
6865
if [ -f "${RC}" ]; then
6966
cp -fp "${RC}" "${RC}.pysave"
@@ -90,7 +87,6 @@ esac
9087

9188
# Drop privileges while writing files.
9289
su -m ${USER} <<EOFS
93-
set -e
9490
# Create backup copy before patching
9591
if [ -f "${PR}" ]; then
9692
cp -fp "${PR}" "${PR}.pysave"

0 commit comments

Comments
 (0)