Use bash from PATH rather than hardcoded in /bin.

E.g. FreeBSD has bash in /usr/local.

http://code.google.com/p/phantomjs/issues/detail?id=597
1.9
Oleg Pudeyev 2013-01-05 06:15:15 -05:00 committed by Ariya Hidayat
parent 69bf72bca7
commit 52e67c5aa7
9 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# usage: just run this script (after having run build.sh)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
COMPILE_JOBS=4

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
`dirname $0`/../src/breakpad/src/processor/minidump_stackwalk $1 `dirname $0`/../symbols

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Generates debugging symbols for breakpad. qt and phantomjs must have
# been compiled in debug mode. So do:

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
svn export http://google-breakpad.googlecode.com/svn/trunk/ src/breakpad

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
LINENOISE_PATH="$PWD/../src/linenoise"
LINENOISE_SRC_PATH="$LINENOISE_PATH/src"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
QT_FOLDER=$PWD/../src/qt

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
COMPILE_JOBS=4