summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/gyp_chromium2
-rwxr-xr-xbuild/linux/python_arch.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 1890d2a..6a4a66a 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
diff --git a/build/linux/python_arch.sh b/build/linux/python_arch.sh
index f364469..01e41d0 100755
--- a/build/linux/python_arch.sh
+++ b/build/linux/python_arch.sh
@@ -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"