aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Kiianchuk <ruslan.kiianchuk@gmail.com>2015-11-07 19:02:08 -0800
committerRuslan Kiianchuk <ruslan.kiianchuk@gmail.com>2015-11-07 19:02:08 -0800
commit62017cc5a39a0298a3227ebb6182fd83f28b5e22 (patch)
treefbe5d59c3dbba5f98e104eaf240f7430a426e7e7
parent6f70ad579fef9eef027991dae6b1d4fc62510588 (diff)
downloadluarocks-62017cc5a39a0298a3227ebb6182fd83f28b5e22.tar.gz
luarocks-62017cc5a39a0298a3227ebb6182fd83f28b5e22.tar.bz2
luarocks-62017cc5a39a0298a3227ebb6182fd83f28b5e22.zip
Use `command -v` for obtaining executable path.
Seems like `command -v` is defined by POSIX and therefore should be compatible with all POSIX OSes.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 83818bf1..8b99b2ae 100755
--- a/configure
+++ b/configure
@@ -71,7 +71,7 @@ EOF
71# Helper functions 71# Helper functions
72 72
73find_program() { 73find_program() {
74 which "$1" 2>/dev/null 74 command -v "$1" 2>/dev/null
75} 75}
76 76
77die() { 77die() {