summaryrefslogtreecommitdiffstats
path: root/commitpkg
diff options
context:
space:
mode:
authorEric Bélanger <snowmaniscool@gmail.com>2011-04-15 22:45:46 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-04-17 11:56:09 +0200
commit39ae6e23d6c3686d836effe0d4bc53eab4f3bf79 (patch)
tree8dbd6c2d72f3d92b7c9a79c687b9a7c1edd47784 /commitpkg
parent61cc1f3504168df4927c776f8d78c3832a6364dc (diff)
downloaddevtools-39ae6e23d6c3686d836effe0d4bc53eab4f3bf79.tar.gz
devtools-39ae6e23d6c3686d836effe0d4bc53eab4f3bf79.tar.xz
commitpkg: clean up svn after changing arch from any to i686/x86_64
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg9
1 files changed, 9 insertions, 0 deletions
diff --git a/commitpkg b/commitpkg
index c57213b..7d533a0 100755
--- a/commitpkg
+++ b/commitpkg
@@ -160,4 +160,13 @@ if [ "${arch[*]}" == 'any' ]; then
echo 'done'
popd >/dev/null
fi
+else
+ if [ -d ../repos/$repo-any ]; then
+ pushd ../repos/ >/dev/null
+ echo "removing $repo-any..."
+ svn rm $repo-any
+ svn commit -q -m "removed $repo-any for $pkgname"
+ echo 'done'
+ popd >/dev/null
+ fi
fi