Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(891)

Unified Diff: build/linux/python_arch.sh

Issue 6845002: OpenBSD: compatibility fixes for the build system. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/gyp_chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/python_arch.sh
===================================================================
--- build/linux/python_arch.sh (revision 81277)
+++ build/linux/python_arch.sh (working copy)
@@ -1,5 +1,5 @@
-#!/bin/bash
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+#!/bin/sh
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -13,12 +13,12 @@
python=$(readlink -f "$1")
if [ ! -r "$python" ]; then
echo unknown
- exit 0;
+ exit 0
fi
file_out=$(file "$python")
if [ $? -ne 0 ]; then
echo unknown
- exit 0;
+ exit 0
fi
echo $file_out | grep -qs "ARM"
« no previous file with comments | « build/gyp_chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698