ref: be660f8ca0ae1b39556a5286832b6042ff4b7a1e
parent: 5d27ee1c08af8351a2a1159fce3819f3c4c207fa
author: James Zern <[email protected]>
date: Fri Apr 29 15:48:51 EDT 2016
configure.sh: prefer 'which' over 'hash' hash may trigger a bashism warning; which is already depended on by this script Change-Id: Ibe0e7d1132d72f03aaf5b7d4c6180b59e92aceff
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1069,7 +1069,7 @@
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