[arch-projects] [devtools] commitpkg: clean up svn after changing arch from any to i686/x86_64
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> --- commitpkg | 9 +++++++++ 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 -- 1.7.4.4
On Fri, 15 Apr 2011 16:45:46 -0400, Eric Bélanger wrote:
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> --- commitpkg | 9 +++++++++ 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
applied -- Pierre Schmitz, https://users.archlinux.de/~pierre
participants (2)
-
Eric Bélanger
-
Pierre Schmitz