diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-12-06 18:53:17 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-12-06 18:53:17 -0200 |
commit | fbe0915c8e5a59267decde4a538145ae62fb5869 (patch) | |
tree | 95a13abcb44e3154e0a9e4162dee1422d1a64873 | |
parent | d7a9e7142655628466baecb302f16ae67e558b52 (diff) | |
parent | 515db853f6631e92b5950bcedf392db2d35e919a (diff) | |
download | luarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.tar.gz luarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.tar.bz2 luarocks-fbe0915c8e5a59267decde4a538145ae62fb5869.zip |
Merge branch 'master' of https://github.com/keplerproject/luarocks
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -71,7 +71,11 @@ EOF | |||
71 | # Helper functions | 71 | # Helper functions |
72 | 72 | ||
73 | find_program() { | 73 | find_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 | ||
77 | die() { | 81 | die() { |