[Rpm-maint] [PATCH] Search for 7za and 7z for 7-zip.

Panu Matilainen pmatilai at laiskiainen.org
Thu Aug 15 04:54:14 UTC 2013


On 07/29/2013 10:34 PM, Ville Skyttä wrote:
> ---
>   configure.ac | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index ec85ede..7351291 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -90,7 +90,7 @@ fi
>   dnl
>   dnl Find some common programs
>   dnl
> -AC_PATH_PROG(__7ZIP, 7zip, /usr/bin/7za, $MYPATH)
> +AC_PATH_PROGS(__7ZIP, [7zip 7za 7z], /usr/bin/7za, $MYPATH)
>   AC_PATH_PROG(__BZIP2, bzip2, /usr/bin/bzip2, $MYPATH)
>   AC_PATH_PROG(__CAT, cat, /bin/cat, $MYPATH)
>   AC_PATH_PROG(__CHGRP, chgrp, /bin/chgrp, $MYPATH)
>

The problem with all these umphteen helper tool checks is that the 
build-environment doesn't necessarily reflect the runtime environment 
but that's a whole another issue... Applied, thanks for the patch!

	- Panu -


More information about the Rpm-maint mailing list