install: set var_sh_bin and var_gzip_bin
commit0ba10ffe97ba57c27c2aec835ef7337663a7c72c
authorKyle J. McKay <mackyle@gmail.com>
Tue, 6 Sep 2016 08:34:00 +0000 (6 01:34 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 6 Sep 2016 08:34:00 +0000 (6 01:34 -0700)
treee8aa6efe3ac2afea3f44cf6f8806459e5fa15ba8
parent5bf07ca371d85e510f7476f32afaf02166130c64
install: set var_sh_bin and var_gzip_bin

Set var_sh_bin as a convenience instead of having to always use
${cfg_posix_sh_bin:-/bin/sh} everywhere and change those uses to the
more succinct $var_sh_bin.

Set var_gzip_bin to the gzip executable (configurable with the new
$Girocco::Config::gzip_bin setting) and validate it and also provide a
gzip() wrapper function to run the selected executable.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Config.pm
install.sh
jailsetup.sh
jobd/gc.sh
shlib.sh
toolbox/perform-pre-gc-linking.sh