diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-22 21:49:40 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-22 21:49:40 +0100 |
commit | 7da36896293bac0c4632c342d99f9ebae9fd7a29 (patch) | |
tree | 21d8b33c6b9f2cb510c869c968963806b375710c | |
parent | e343366efd1762336c4c7250dbbf62b7ea0bf47e (diff) |
Prefer any packages
-rwxr-xr-x | misc-scripts/make-sourceball | 6 |
1 files changed, 3 insertions, 3 deletions
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 |