From 8ee9226e05d2179f17c7dbc02fa78e31ea10b82c Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Tue, 11 Oct 2016 14:20:41 -0700 Subject: [PATCH] [nss] do not override /src/nss --- nss/build.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/nss/build.sh b/nss/build.sh index 446488f3a..e974aca5c 100755 --- a/nss/build.sh +++ b/nss/build.sh @@ -15,17 +15,10 @@ # ################################################################################ -cd /src/nss - -# Check out the code using mercurial. -rm -rf nspr -rm -rf nss -hg clone https://hg.mozilla.org/projects/nspr -hg clone https://hg.mozilla.org/projects/nss - # Build the library. mkdir -p /work/nss -cp -u -r /src/nss/* /work/nss/ +hg clone https://hg.mozilla.org/projects/nspr +hg clone https://hg.mozilla.org/projects/nss cd /work/nss/nss make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 CC="$CC $CFLAGS" \ CXX="$CXX $CXXFLAGS" LD="$CC $CFLAGS" ZDEFS_FLAG= clean nss_build_all