diff --git a/srcpkgs/bash/template b/srcpkgs/bash/template index ca1b33fc6b..a7aa7923ba 100644 --- a/srcpkgs/bash/template +++ b/srcpkgs/bash/template @@ -3,7 +3,7 @@ pkgname=bash _bash_distver=4.3 _bash_patchlevel=042 version=${_bash_distver}.${_bash_patchlevel} -revision=1 +revision=2 wrksrc=${pkgname}-${_bash_distver} build_pie=yes build_style=gnu-configure @@ -21,6 +21,10 @@ CFLAGS="-DSYS_BASHRC='\"/etc/bash/bashrc\"'" make_dirs="/etc/bash/bashrc.d 755 root root" checksum=afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4 +alternatives=" + sh:/usr/bin/sh:/usr/bin/bash + sh:/usr/share/man/man1/sh.1:/usr/share/man/man1/bash.1" + pre_configure() { local url="${GNU_SITE}/$pkgname/$pkgname-${_bash_distver}-patches" local ver=$(echo ${_bash_distver}|sed "s|\.||g")