]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: Fix the build.sh shebang line to avoid depending on location of bash
authorBruce Cran <bruce@cran.org.uk>
Wed, 8 Jul 2015 07:11:35 +0000 (07:11 +0000)
committerjljusten <jljusten@Edk2>
Wed, 8 Jul 2015 07:11:35 +0000 (07:11 +0000)
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

OvmfPkg/build.sh

index 920d22f217573b99fc003ee32d8038c8ab6b1c93..8be7baacf3403bc36a8d024434ab8b5e88f75823 100755 (executable)
@@ -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>