[arch-dev-public] [PATCH] fix indentation

Francois Charette francois at archlinux.org
Sat Sep 19 08:33:13 EDT 2009


---
 commitpkg |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/commitpkg b/commitpkg
index 13ed176..0d13c6d 100755
--- a/commitpkg
+++ b/commitpkg
@@ -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
-- 
1.6.4.4



More information about the arch-dev-public mailing list