File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# make.sh
4
4
#
5
- # Copyright (C) 2020 Kristofer Berggren
5
+ # Copyright (C) 2020-2025 Kristofer Berggren
6
6
# All rights reserved.
7
7
#
8
8
# See LICENSE for redistribution information.
@@ -146,7 +146,11 @@ if [[ "${INSTALL}" == "1" ]]; then
146
146
if [ " ${OS} " == " Linux" ]; then
147
147
cd build && sudo make install && cd .. || exiterr " install failed (linux), exiting."
148
148
elif [ " ${OS} " == " Darwin" ]; then
149
- cd build && make install && cd .. || exiterr " install failed (mac), exiting."
149
+ GHSUDO=" "
150
+ if [[ " ${GITHUB_ACTIONS} " == " true" ]]; then
151
+ GHSUDO=" sudo"
152
+ fi
153
+ cd build && ${GHSUDO} make install && cd .. || exiterr " install failed (mac), exiting."
150
154
else
151
155
exiterr " install failed (unsupported os ${OS} ), exiting."
152
156
fi
You can’t perform that action at this time.
0 commit comments