Index: build/linux/sysroot_scripts/sysroot-creator-precise.sh |
diff --git a/build/linux/sysroot_scripts/sysroot-creator-precise.sh b/build/linux/sysroot_scripts/sysroot-creator-precise.sh |
index 0556b595a226fa4ceedb0eef697cf0089e27abf1..4aab5db389c229f427c5ba6487dd8b6d34316341 100755 |
--- a/build/linux/sysroot_scripts/sysroot-creator-precise.sh |
+++ b/build/linux/sysroot_scripts/sysroot-creator-precise.sh |
@@ -3,7 +3,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-SCRIPT_DIR=$(dirname $0) |
+SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
DISTRO=ubuntu |
DIST=precise |
@@ -16,8 +16,10 @@ APT_REPO_ARM64=http://ports.ubuntu.com |
KEYRING_FILE=/usr/share/keyrings/ubuntu-archive-keyring.gpg |
HAS_ARCH_AMD64=1 |
-HAS_ARCH_I386=1 |
-HAS_ARCH_ARM=1 |
+ |
+# Precise supports these architectures but they are not needed by chrome. |
+# HAS_ARCH_I386=1 |
+# HAS_ARCH_ARM=1 |
# Sysroot packages: these are the packages needed to build chrome. |
# NOTE: When DEBIAN_PACKAGES is modified, the packagelist files must be updated |
@@ -202,4 +204,4 @@ DEBIAN_PACKAGES="\ |
DEBIAN_PACKAGES_X86="libquadmath0" |
DEBIAN_PACKAGES_ARM="libdrm-omap1" |
-. ${SCRIPT_DIR}/sysroot-creator.sh |
+. "${SCRIPT_DIR}/sysroot-creator.sh" |