diff options
author | Eric Bélanger <snowmaniscool@gmail.com> | 2011-04-15 22:45:46 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-04-17 11:56:09 +0200 |
commit | 39ae6e23d6c3686d836effe0d4bc53eab4f3bf79 (patch) | |
tree | 8dbd6c2d72f3d92b7c9a79c687b9a7c1edd47784 | |
parent | 61cc1f3504168df4927c776f8d78c3832a6364dc (diff) | |
download | devtools-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>
-rwxr-xr-x | commitpkg | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |