aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-12-06 18:53:17 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-12-06 18:53:17 -0200
commitfbe0915c8e5a59267decde4a538145ae62fb5869 (patch)
tree95a13abcb44e3154e0a9e4162dee1422d1a64873
parentd7a9e7142655628466baecb302f16ae67e558b52 (diff)
parent515db853f6631e92b5950bcedf392db2d35e919a (diff)
downloadluarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.tar.gz
luarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.tar.bz2
luarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.zip
Merge branch 'master' of https://github.com/keplerproject/luarocks
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 8b99b2ae..75ba4039 100755
--- a/configure
+++ b/configure
@@ -71,7 +71,11 @@ EOF
71# Helper functions 71# Helper functions
72 72
73find_program() { 73find_program() {
74 command -v "$1" 2>/dev/null 74 prog=`command -v "$1" 2>/dev/null`
75 if [ -n "$prog" ]
76 then
77 dirname "$prog"
78 fi
75} 79}
76 80
77die() { 81die() {