firefox doesnt like slash at the end + nicer buildpath

This commit is contained in:
APEX FIGHT
2025-10-31 22:09:48 -04:00
parent 40ed13f3ba
commit dd1eeb2975

View File

@@ -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