summaryrefslogtreecommitdiff
path: root/OvmfPkg
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2015-07-08 07:11:35 +0000
committerjljusten <jljusten@Edk2>2015-07-08 07:11:35 +0000
commit7a84729f667ab6651d19036b19a43fc6aa5ebb0f (patch)
treeef7df75df00918b6d73a75ec862f093092208808 /OvmfPkg
parentc2a65e233ae82090b63e9d170401fad546957fdf (diff)
downloadedk2-platforms-7a84729f667ab6651d19036b19a43fc6aa5ebb0f.tar.xz
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/trunk/edk2@17883 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rwxr-xr-xOvmfPkg/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh
index 920d22f217..8be7baacf3 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 - 2015, Intel Corporation. All rights reserved.<BR>