diff --git a/templates/bash.tmpl b/templates/bash.tmpl index fa6b9e2c82a..426ef64471d 100644 --- a/templates/bash.tmpl +++ b/templates/bash.tmpl @@ -31,7 +31,7 @@ pre_configure() { # Apply all patches for current (3.2) version. local lpatch="039" - local URL="http://ftp.gnu.org/gnu/bash/bash-$version-patches" + local URL="http://ftp.gnu.org/gnu/bash/bash-$bash_distver-patches" for p in $(seq -w 001 $lpatch); do if [ ! -f "$XBPS_SRCDISTDIR/bash32-$p" ]; then