Provide $config_shell for templates, by default set to /bin/sh.

--HG--
extra : convert_revision : 8630725f3e1d5d8feb54a352d3116197727b69b6
This commit is contained in:
Juan RP 2009-04-22 06:18:11 +02:00
parent 7ba2a2b325
commit 7d60f3d0c2
2 changed files with 6 additions and 2 deletions

View file

@ -78,11 +78,15 @@ configure_src_phase()
. $XBPS_SHUTILSDIR/buildvars_funcs.sh
set_build_vars
if [ -z "${config_shell}" ]; then
config_shell=/bin/sh
fi
#
# Packages using GNU autoconf
#
if [ "$build_style" = "gnu_configure" ]; then
env CONFIG_SHELL=/bin/sh ${configure_script} \
env CONFIG_SHELL=${config_shell} ${configure_script} \
--prefix=/usr --sysconfdir=/etc \
--infodir=/usr/share/info \
--mandir=/usr/share/man \

View file

@ -64,7 +64,7 @@ reset_tmpl_vars()
short_desc maintainer long_desc checksum wrksrc \
patch_files make_cmd base_chroot register_shell \
make_build_target configure_script noextract \
pre_configure pre_build pre_install \
pre_configure pre_build pre_install config_shell \
post_configure post_build post_install \
make_install_target version revision \
sgml_catalogs xml_catalogs xml_entries sgml_entries \