diff --git a/templates/bash.tmpl b/templates/bash.tmpl index cefcb7fc4a..41fb2c762a 100644 --- a/templates/bash.tmpl +++ b/templates/bash.tmpl @@ -2,7 +2,8 @@ pkgname=bash # This matches current version + latest patchlevel bash_distver=3.2 -version=$bash_distver.039 +bash_patchver=048 +version=$bash_distver.$bash_patchver wrksrc=$pkgname-$bash_distver distfiles="http://ftp.gnu.org/pub/gnu/bash/$pkgname-$bash_distver.tar.gz" build_style=gnu_configure @@ -31,10 +32,9 @@ run_depends="glibc-2.8 ncurses-5.6" pre_configure() { # Apply all patches for current (3.2) version. - local lpatch="039" local URL="http://ftp.gnu.org/gnu/bash/bash-$bash_distver-patches" - for p in $(seq -w 001 $lpatch); do + for p in $(seq -w 001 $bash_patchver); do if [ ! -f "$XBPS_SRCDISTDIR/bash32-$p" ]; then msg_normal "Fetching $pkgname-$version patch: bash32-$p." cd $XBPS_SRCDISTDIR && $fetch_cmd $URL/bash32-$p || bye 1