File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 33# popups asking to accept incoming network connections when
44# running tests.
55SFW=" /usr/libexec/ApplicationFirewall/socketfilterfw"
6- TOOLSDIR=" ` dirname \ "$0 \" ` "
7- TOOLSDIR=" ` ( cd \ "$TOOLSDIR \ " && pwd) ` "
8- ROOTDIR=" ` ( cd \ "$TOOLSDIR /..\ " && pwd) ` "
6+ TOOLSDIR=" $( dirname " $0 " ) "
7+ TOOLSDIR=" $( cd " $TOOLSDIR " && pwd) "
8+ ROOTDIR=" $( cd " $TOOLSDIR /.." && pwd) "
99OUTDIR=" $TOOLSDIR /../out"
1010# Using cd and pwd here so that the path used for socketfilterfw does not
1111# contain a '..', which seems to cause the rules to be incorrectly added
1212# and they are not removed when this script is re-run. Instead the new
1313# rules are simply appended. By using pwd we can get the full path
1414# without '..' and things work as expected.
15- OUTDIR=" ` ( cd \ "$OUTDIR \ " && pwd) ` "
15+ OUTDIR=" $( cd " $OUTDIR " && pwd) "
1616NODE_RELEASE=" $OUTDIR /Release/node"
1717NODE_DEBUG=" $OUTDIR /Debug/node"
1818NODE_LINK=" $ROOTDIR /node"
Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ if [ ! -f "${gon_exe}" ]; then
2828 (cd " ${HOME} /.gon/" && rm -f gon && unzip " ${gon_exe} .zip" && mv gon " ${gon_exe} " )
2929fi
3030
31- cat tools/osx-gon-config.json.tmpl \
32- | sed -e " s/{{appleid}}/${NOTARIZATION_ID} /" -e " s/{{pkgid}}/${pkgid} /" \
31+ sed -e " s/{{appleid}}/${NOTARIZATION_ID} /" -e " s/{{pkgid}}/${pkgid} /" tools/osx-gon-config.json.tmpl \
3332 > gon-config.json
3433
3534" ${gon_exe} " -log-level=info gon-config.json
You can’t perform that action at this time.
0 commit comments