summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2015-07-09 01:54:38 +0000
committerhwu1225 <hwu1225@Edk2>2015-07-09 01:54:38 +0000
commit328f421d459fe11d97b1d2457424505ab1740668 (patch)
tree93e57185c83ab0aaa8374c0c2ecff34ce50971ee
parent1449ee8dd2514f2ee52ce7374c315c8dba4727b6 (diff)
downloadedk2-328f421d459fe11d97b1d2457424505ab1740668.tar.gz
OvmfPkg: Fix the build.sh shebang line to avoid depending on location of bash
The bash binary can be in various locations depending on the system: on Linux it's in /bin while on BSD it's normally in /usr/local/bin. However, the env binary is almost always in /usr/bin and so can be used to find and start the shell. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bruce Cran <bruce@cran.org.uk> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1@17892 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xOvmfPkg/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index b549ab57c2..b132d63836 100755
--- a/OvmfPkg/build.sh
+++ b/OvmfPkg/build.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>