diff options
-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 |