From 7a84729f667ab6651d19036b19a43fc6aa5ebb0f Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Wed, 8 Jul 2015 07:11:35 +0000 Subject: 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 Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17883 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OvmfPkg/build.sh') 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.
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
-- cgit v1.2.3