mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
fix(build): respect relative path in archive.sh (#2462)
This commit is contained in:
parent
8149e1d9dd
commit
18aafc361f
@ -136,7 +136,7 @@ createZipForMac() {
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/WebInspectorUI.framework
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/WebKit.framework
|
||||
ditto {./WebKitBuild/Release,$tmpdir}/WebKitLegacy.framework
|
||||
ditto {..,$tmpdir}/pw_run.sh
|
||||
ditto {$SCRIPTS_DIR,$tmpdir}/pw_run.sh
|
||||
# copy protocol
|
||||
node $SCRIPTS_DIR/concat_protocol.js > $tmpdir/protocol.json
|
||||
|
||||
@ -146,8 +146,7 @@ createZipForMac() {
|
||||
}
|
||||
|
||||
trap "cd $(pwd -P)" EXIT
|
||||
|
||||
SCRIPTS_DIR="$(dirname "$0")"
|
||||
cd $SCRIPTS_DIR
|
||||
cd "$(dirname "$0")"
|
||||
SCRIPTS_DIR="$(pwd -P)"
|
||||
|
||||
main "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user