diff options
author | Francois Charette <francois@archlinux.org> | 2009-10-21 10:20:31 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-26 21:18:27 +0100 |
commit | db962d9b7cc8e8d0b0139eeb27c9528edafa4163 (patch) | |
tree | a33e770f08ec2169022c7674055a31250dfaba0c /commitpkg | |
parent | 4fb916c82460c3ed9ef45a23cac6ed2438b98962 (diff) | |
download | devtools-db962d9b7cc8e8d0b0139eeb27c9528edafa4163.tar.gz devtools-db962d9b7cc8e8d0b0139eeb27c9528edafa4163.tar.xz |
Change loop var CARCH to _arch
This is just better practice, as CARCH means something else in
makepkg.conf
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'commitpkg')
-rwxr-xr-x | commitpkg | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -67,10 +67,10 @@ if [ "$1" = "-l" ]; then shift 2 fi -for CARCH in ${arch[@]}; do - echo "===> Uploading to staging/$repo for arch=$CARCH" +for _arch in ${arch[@]}; do + echo "===> Uploading to staging/$repo for arch=${_arch}" for _pkgname in ${pkgname[@]}; do - pkgfile=$_pkgname-$pkgver-$pkgrel-$CARCH$PKGEXT + pkgfile=$_pkgname-$pkgver-$pkgrel-${_arch}$PKGEXT if [ ! -f $pkgfile -a -f "$PKGDEST/$pkgfile" ]; then pkgfile="$PKGDEST/$pkgfile" @@ -105,7 +105,7 @@ for CARCH in ${arch[@]}; do echo "===> Commited" fi - archrelease $repo-$CARCH || abort + archrelease $repo-${_arch} || abort done if [ "${arch[*]}" == "any" ]; then |