summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-04-29 19:48:51 -0700
committerJames Zern <jzern@google.com>2016-04-29 19:48:51 -0700
commitbe660f8ca0ae1b39556a5286832b6042ff4b7a1e (patch)
tree05564bc711b51b80894a380a50e00d5bc75357a9 /build/make/configure.sh
parent5d27ee1c08af8351a2a1159fce3819f3c4c207fa (diff)
downloadlibvpx-be660f8ca0ae1b39556a5286832b6042ff4b7a1e.tar
libvpx-be660f8ca0ae1b39556a5286832b6042ff4b7a1e.tar.gz
libvpx-be660f8ca0ae1b39556a5286832b6042ff4b7a1e.tar.bz2
libvpx-be660f8ca0ae1b39556a5286832b6042ff4b7a1e.zip
configure.sh: prefer 'which' over 'hash'
hash may trigger a bashism warning; which is already depended on by this script Change-Id: Ibe0e7d1132d72f03aaf5b7d4c6180b59e92aceff
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r--build/make/configure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index b305d33af..8ea755abd 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1069,7 +1069,7 @@ EOF
if enabled rvct; then
# Check if we have CodeSourcery GCC in PATH. Needed for
# libraries
- hash arm-none-linux-gnueabi-gcc 2>&- || \
+ which arm-none-linux-gnueabi-gcc 2>&- || \
die "Couldn't find CodeSourcery GCC from PATH"
# Use armcc as a linker to enable translation of