From 7da36896293bac0c4632c342d99f9ebae9fd7a29 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 22 Nov 2010 21:49:40 +0100 Subject: Prefer any packages --- misc-scripts/make-sourceball | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc-scripts/make-sourceball') diff --git a/misc-scripts/make-sourceball b/misc-scripts/make-sourceball index ce87b31..1dbb655 100755 --- a/misc-scripts/make-sourceball +++ b/misc-scripts/make-sourceball @@ -71,10 +71,10 @@ cd "$WORKDIR" failed=0 if /usr/bin/svn export -q "$SVNREPO/$packagename" $packagename; then - if [ -f "$packagename/repos/$reponame-$arch/PKGBUILD" ]; then - create_srcpackage "$packagename/repos/$reponame-$arch" || failed=1 - elif [ -f "$packagename/repos/$reponame-any/PKGBUILD" ]; then + if [ -f "$packagename/repos/$reponame-any/PKGBUILD" ]; then create_srcpackage "$packagename/repos/$reponame-any" || failed=1 + elif [ -f "$packagename/repos/$reponame-$arch/PKGBUILD" ]; then + create_srcpackage "$packagename/repos/$reponame-$arch" || failed=1 else error "PKGBUILD for '$packagename' does not exist in repo '$reponame-$arch' or '$reponame-any'" failed=1 -- cgit v1.2.3-24-g4f1b