Skip to content

Commit a8ae5fd

Browse files
committed
GH/mac/install_others.sh: reindent
make the subshell more obvious
1 parent 2980344 commit a8ae5fd

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/scripts/macOS/install_others.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,26 +61,26 @@ install_libbacktrace() (
6161
)
6262

6363
# Install NDI
64-
install_ndi() {(
65-
# installer downloaed by cache step
66-
installer=/private/var/tmp/Install_NDI_SDK_Apple.pkg
67-
sudo installer -pkg $installer -target /
68-
sudo mv /Library/NDI\ SDK\ for\ * /Library/NDI
69-
)
64+
install_ndi() {
65+
(
66+
# installer downloaed by cache step
67+
installer=/private/var/tmp/Install_NDI_SDK_Apple.pkg
68+
sudo installer -pkg $installer -target /
69+
sudo mv /Library/NDI\ SDK\ for\ * /Library/NDI
70+
)
7071
export CPATH=${CPATH:+"$CPATH:"}/Library/NDI/include
7172
printf '%b' "CPATH=$CPATH\n" >> "$GITHUB_ENV"
7273
}
7374

7475
install_syphon() {
7576
syphon_dst=/Library/Frameworks
76-
(
77-
git clone --depth 1 https://github.com/Syphon/Syphon-Framework.git
78-
cd Syphon-Framework
79-
xcodebuild LD_DYLIB_INSTALL_NAME=$syphon_dst/\
77+
(
78+
git clone --dep 1 https://github.com/Syphon/Syphon-Framework.git
79+
cd Syphon-Framework
80+
xcodebuild LD_DYLIB_INSTALL_NAME=$syphon_dst/\
8081
Syphon.framework/Versions/A/Syphon -arch "$(uname -m)"
81-
sudo cp -R 'build/Release/Syphon.framework' \
82-
$syphon_dst
83-
)
82+
sudo cp -R 'build/Release/Syphon.framework' $syphon_dst
83+
)
8484
export COMMON_OSX_FLAGS="${COMMON_OSX_FLAGS+$COMMON_OSX_FLAGS }\
8585
-F$syphon_dst"
8686
printf '%b' "COMMON_OSX_FLAGS=$COMMON_OSX_FLAGS\n" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)