Index: build/linux/sysroot_scripts/install-sysroot.py |
diff --git a/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py b/build/linux/sysroot_scripts/install-sysroot.py |
similarity index 98% |
rename from chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py |
rename to build/linux/sysroot_scripts/install-sysroot.py |
index dfca9a60cc2daaffb2d1e7616904de06d00e449f..99fc2d6f459b4178651642b52b237584daeb4d34 100755 |
--- a/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py |
+++ b/build/linux/sysroot_scripts/install-sysroot.py |
@@ -75,9 +75,8 @@ def DetectArch(gyp_defines): |
# Figure out host arch using build/detect_host_arch.py and |
# set target_arch to host arch |
- SRC_DIR = os.path.abspath( |
- os.path.join(SCRIPT_DIR, '..', '..', '..', '..')) |
- sys.path.append(os.path.join(SRC_DIR, 'build')) |
+ build_dir = os.path.dirname(os.path.dirname(os.path.join(SCRIPT_DIR))) |
+ sys.path.append(build_dir) |
import detect_host_arch |
detected_host_arch = detect_host_arch.HostArch() |