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