diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:38:55 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 08:38:55 +0000 |
commit | dedf9edb9e436bf178ab8a64e3dd7122fd6176e7 (patch) | |
tree | 291d8b38e4fb7f4f54dd560252e5e4d83f1fe94f /build | |
parent | 5fd362be7b9a272d7f474813cee34fd5e0ee1cfd (diff) | |
download | chromium_src-dedf9edb9e436bf178ab8a64e3dd7122fd6176e7.zip chromium_src-dedf9edb9e436bf178ab8a64e3dd7122fd6176e7.tar.gz chromium_src-dedf9edb9e436bf178ab8a64e3dd7122fd6176e7.tar.bz2 |
OpenBSD: compatibility fixes for the build system.
- switch from /bin/bash to /bin/sh (bash is not a part of base system
on OpenBSD)
- switch from /usr/bin/python to /usr/bin/env python (python is not a part
of base system on OpenBSD)
BUG=none
Review URL: http://codereview.chromium.org/6845002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/gyp_chromium | 2 | ||||
-rwxr-xr-x | build/linux/python_arch.sh | 8 |
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" |