Mac build: Resolve Firefox source path to absolute path

build-and-unify changes into a temp directory before unifying, so a
relative path (e.g., `.`) broke the mach and objdir references.
This commit is contained in:
Dan Stillman 2026-10-01 15:18:37 -04:00
parent 9e234ee64f
commit 4118f47bc3

View file

@ -12,7 +12,7 @@ if [ -z "${1:-}" ]; then
echo "Usage: $0 /path/to/firefox" >&2
exit 1
fi
GECKO_PATH=$1
GECKO_PATH="$(cd "$1" && pwd)"
mach=$GECKO_PATH/mach
BUILD_DIR=`mktemp -d`