[arch-commits] Commit in bash/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Jun 16 04:44:35 UTC 2010
Date: Wednesday, June 16, 2010 @ 00:44:35
Author: allan
Revision: 82719
make PKGBUILD namcap friendly
Modified:
bash/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-06-16 00:15:11 UTC (rev 82718)
+++ PKGBUILD 2010-06-16 04:44:35 UTC (rev 82719)
@@ -21,8 +21,8 @@
enable-system-config-files.patch
system.bashrc)
if [ $_patchlevel -gt 000 ]; then
- for p in $(seq -w 001 $_patchlevel); do
- source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-$p)
+ for (( p=1; p<=$_patchlevel; p++ )); do
+ source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-$(printf "%03d" $p))
done
fi
More information about the arch-commits
mailing list