From 3d2f01d1cbe644706fa04a92f0bd815b3b868d4d Mon Sep 17 00:00:00 2001 From: "zhurunz@google.com" Date: Mon, 12 Jul 2010 17:42:26 +0000 Subject: Work around exception in command "which" while running GYP inside ChromiumOS chroot. ChromiumOS is trying to remove dpkg-buildpackage. If running inside ChromiumOS chroot, the "which" can throw exception when the target file is missing. ( dpkg-buildpackage will be missing in this case ) This doesn't happen with the "which" on Ubuntu. Work around it by using "whereis" instead. It works on both ChromiumOS choot and Ubuntu. Review URL: http://codereview.chromium.org/2945011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52099 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/installer/linux/installer.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'o3d/installer') diff --git a/o3d/installer/linux/installer.gyp b/o3d/installer/linux/installer.gyp index c09b045..91f4898 100644 --- a/o3d/installer/linux/installer.gyp +++ b/o3d/installer/linux/installer.gyp @@ -8,7 +8,7 @@ 'target_name': 'installer', 'type': 'none', 'conditions': [ - [ '"