From 84b1b88895f091c3a6c90dc921038c9294e43e36 Mon Sep 17 00:00:00 2001 From: Hisham Date: Mon, 29 Feb 2016 18:48:37 -0300 Subject: Test that 'unzip' is present in the $PATH. --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 75ba4039..665d52bc 100755 --- a/configure +++ b/configure @@ -101,7 +101,7 @@ find_helper() { fi shift done - echo "Could not find a $explanation. Tried: $tried." + echo "Could not find $explanation. Tried: $tried." die "Make sure one of them is installed and available in your PATH." } @@ -362,16 +362,18 @@ fi if [ "$LUAROCKS_DOWNLOADER_SET" != "yes" ] then - find_helper "downloader helper program" curl wget fetch + find_helper "a downloader helper program" curl wget fetch LUAROCKS_DOWNLOADER=$HELPER fi if [ "$LUAROCKS_MD5CHECKER_SET" != "yes" ] then - find_helper "MD5 checksum calculator" md5sum openssl md5 + find_helper "a MD5 checksum calculator" md5sum openssl md5 LUAROCKS_MD5CHECKER=$HELPER fi +find_helper "an 'unzip' program" unzip + echo_n "Configuring for system... " if uname -s then -- cgit v1.2.3-55-g6feb