diff options
author | Hisham <hisham@gobolinux.org> | 2016-02-29 18:48:37 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-02-29 18:48:37 -0300 |
commit | 84b1b88895f091c3a6c90dc921038c9294e43e36 (patch) | |
tree | e00ee9bd7ec370e898dc96c2d39ad1de59a978bf /configure | |
parent | 864d1ae0a3dfbfa22fc14927a893885be870c1e2 (diff) | |
download | luarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.tar.gz luarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.tar.bz2 luarocks-84b1b88895f091c3a6c90dc921038c9294e43e36.zip |
Test that 'unzip' is present in the $PATH.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -101,7 +101,7 @@ find_helper() { | |||
101 | fi | 101 | fi |
102 | shift | 102 | shift |
103 | done | 103 | done |
104 | echo "Could not find a $explanation. Tried: $tried." | 104 | echo "Could not find $explanation. Tried: $tried." |
105 | die "Make sure one of them is installed and available in your PATH." | 105 | die "Make sure one of them is installed and available in your PATH." |
106 | } | 106 | } |
107 | 107 | ||
@@ -362,16 +362,18 @@ fi | |||
362 | 362 | ||
363 | if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] | 363 | if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] |
364 | then | 364 | then |
365 | find_helper "downloader helper program" curl wget fetch | 365 | find_helper "a downloader helper program" curl wget fetch |
366 | LUAROCKS_DOWNLOADER=$HELPER | 366 | LUAROCKS_DOWNLOADER=$HELPER |
367 | fi | 367 | fi |
368 | 368 | ||
369 | if [ "$LUAROCKS_MD5CHECKER_SET" != "yes" ] | 369 | if [ "$LUAROCKS_MD5CHECKER_SET" != "yes" ] |
370 | then | 370 | then |
371 | find_helper "MD5 checksum calculator" md5sum openssl md5 | 371 | find_helper "a MD5 checksum calculator" md5sum openssl md5 |
372 | LUAROCKS_MD5CHECKER=$HELPER | 372 | LUAROCKS_MD5CHECKER=$HELPER |
373 | fi | 373 | fi |
374 | 374 | ||
375 | find_helper "an 'unzip' program" unzip | ||
376 | |||
375 | echo_n "Configuring for system... " | 377 | echo_n "Configuring for system... " |
376 | if uname -s | 378 | if uname -s |
377 | then | 379 | then |