summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 17:32:58 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 17:32:58 +0000
commit78dd0b4d7dfd15b5f36df90a312af4ac621e4c8c (patch)
treec54665385b5b2b4f245da636ff55e91898e0d332 /build/linux
parent6e1546c1ef644b6be7dc64e753dad13e624c2624 (diff)
downloadchromium_src-78dd0b4d7dfd15b5f36df90a312af4ac621e4c8c.zip
chromium_src-78dd0b4d7dfd15b5f36df90a312af4ac621e4c8c.tar.gz
chromium_src-78dd0b4d7dfd15b5f36df90a312af4ac621e4c8c.tar.bz2
Yet another try to hotfix the ARM builbots. Sigh.
BUG=none TEST=ARM buildbots go green? TBR=zelidrag Review URL: http://codereview.chromium.org/668069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rwxr-xr-xbuild/linux/python_arch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/linux/python_arch.sh b/build/linux/python_arch.sh
index d874051..f364469 100755
--- a/build/linux/python_arch.sh
+++ b/build/linux/python_arch.sh
@@ -11,12 +11,12 @@
#
python=$(readlink -f "$1")
-if [ -z "$python" ]; then
+if [ ! -r "$python" ]; then
echo unknown
exit 0;
fi
file_out=$(file "$python")
-if [ -z "$file_out" ]; then
+if [ $? -ne 0 ]; then
echo unknown
exit 0;
fi