From 4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Wed, 31 Oct 2007 18:41:17 +0200 Subject: Add support for arch='any' Signed-off-by: Roman Kyrylych Signed-off-by: Dan McGee --- scripts/gensync.sh.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/gensync.sh.in') diff --git a/scripts/gensync.sh.in b/scripts/gensync.sh.in index d98915f4..8109fe22 100644 --- a/scripts/gensync.sh.in +++ b/scripts/gensync.sh.in @@ -129,6 +129,9 @@ for file in $(find "$rootdir"/* -name "$BUILDSCRIPT"); do unset pkgname pkgver pkgrel options source $file || die "$(gettext "failed to parse parse %s")" $file + if [ "$arch" = 'any' ]; then + CARCH='any' + fi if [ "$pkgdir" != "" ]; then pkgfile="$pkgdir/$pkgname-$pkgver-$pkgrel-$CARCH.$PKGEXT" else -- cgit v1.2.3-24-g4f1b