From dd1eeb2975f386aba52487a1fdb0185d86b64f5c Mon Sep 17 00:00:00 2001 From: APEX FIGHT Date: Fri, 31 Oct 2025 22:09:48 -0400 Subject: [PATCH] firefox doesnt like slash at the end + nicer buildpath --- src/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/build.sh b/src/build.sh index 6d1b7db..928867a 100644 --- a/src/build.sh +++ b/src/build.sh @@ -2,8 +2,9 @@ #! nix-shell -i bash --pure #! nix-shell -p bash curl gcc zlib libffi icu77 VERSION="140.4.0esr" -DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz/" +DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz" BUILDPATH=$(realpath .) +mkdir bin #debug stuff echo $VERSION @@ -21,7 +22,7 @@ cd "src/js/src" mkdir _build cd _build -../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix=$BUILDPATH \ +../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \ --with-intl-api --enable-optimize make