summaryrefslogtreecommitdiff
path: root/scripts/gensync.sh.in
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2007-10-31 18:41:17 +0200
committerDan McGee <dan@archlinux.org>2007-11-04 09:50:04 -0600
commit4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca (patch)
tree096894960845a62a9a4bdff005e682c6803ff445 /scripts/gensync.sh.in
parent0ea43089e1b95bd7b4e25ca170e155295f2b2b2d (diff)
downloadpacman-4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca.tar.xz
Add support for arch='any'
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/gensync.sh.in')
-rw-r--r--scripts/gensync.sh.in3
1 files changed, 3 insertions, 0 deletions
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