diff options
author | Francois Charette <francois@archlinux.org> | 2009-09-19 14:33:13 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-09-21 22:08:43 +0200 |
commit | 80061e2051c5d1f42d86f2e4d44b987429c40ccf (patch) | |
tree | 7e762992a59bd0a3ea8bb8b4bae2b3a98968805e /commitpkg | |
parent | eebe3a49b7ce0a0114ad2386548193e7198d4218 (diff) | |
download | devtools-80061e2051c5d1f42d86f2e4d44b987429c40ccf.tar.gz devtools-80061e2051c5d1f42d86f2e4d44b987429c40ccf.tar.xz |
fix indentation
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'commitpkg')
-rwxr-xr-x | commitpkg | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -33,18 +33,18 @@ for _pkgname in ${pkgname[@]}; do anypkgfile=${_pkgname}-${pkgver}-${pkgrel}-any${PKGEXT} if [ ! -f $pkgfile ]; then - if [ -f $PKGDEST/$pkgfile ]; then + if [ -f $PKGDEST/$pkgfile ]; then pkgfile=$PKGDEST/$pkgfile - elif [ -f $anypkgfile ]; then - pkgfile=$anypkgfile - CARCH=any - elif [ -f $PKGDEST/$anypkgfile ]; then - pkgfile=$PKGDEST/$anypkgfile - CARCH=any - else + elif [ -f $anypkgfile ]; then + pkgfile=$anypkgfile + CARCH=any + elif [ -f $PKGDEST/$anypkgfile ]; then + pkgfile=$PKGDEST/$anypkgfile + CARCH=any + else echo "File $pkgfile doesn't exist" exit 1 - fi + fi fi # set up repo-specific opts depending on how we were called |