summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMartin Thomson <mt@lowentropy.net>2023-01-14 09:31:27 +1100
committerMartin Thomson <mt@lowentropy.net>2023-01-14 09:31:27 +1100
commita9974d3eb4d2bd0241f8c24d2d8fcc2282d69af9 (patch)
treecc98e9db3c418bb67cca6b7e6a1c5e0401050859 /build.sh
parent1273a14ef826e250ba8ae75f76fd5eeceac6e64e (diff)
downloadnss-hg-a9974d3eb4d2bd0241f8c24d2d8fcc2282d69af9.tar.gz
Backed out changeset 7f64f5d3df09 for build bustage
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 451789591..bbb8d04a4 100755
--- a/build.sh
+++ b/build.sh
@@ -129,8 +129,8 @@ while [ $# -gt 0 ]; do
--disable-keylog) sslkeylogfile=0 ;;
--enable-legacy-db) gyp_params+=(-Ddisable_dbm=0) ;;
--mozilla-central) gyp_params+=(-Dmozilla_central=1) ;;
- --python) python="$2"; shift ;;
- --python=*) python="${1#*=}" ;;
+ --python) python="$2"; shift ;;
+ --python=*) python="${1#*=}" ;;
-D*) gyp_params+=("$1") ;;
*) show_help; exit 2 ;;
esac
@@ -143,7 +143,7 @@ fi
if [ -z "$target_arch" ]; then
# Assume that the target architecture is the same as the host by default.
- host_arch=$(${python:-python3} "$cwd/coreconf/detect_host_arch.py")
+ host_arch=$(${python:-python} "$cwd/coreconf/detect_host_arch.py")
target_arch=$host_arch
fi