[arch-dev-public] [PATCH 3/3] sourceballs: Added community and community-testing support

Pierre Schmitz pierre at archlinux.de
Sat Mar 13 11:46:47 CET 2010


Am Montag, 8. Februar 2010 16:13:44 schrieb Eric Bélanger:
> -    if ! /usr/bin/svn export -q --force "$SVNREPO/$packagename"
> "$packagename" >/dev/null 2>&1 ; then +    if ! $(/usr/bin/svn export -q
> --force "$SVNREPO/$packagename" "$packagename" >/dev/null 2>&1) \
> +       && ! $(/usr/bin/svn export -q --force
> "$SVNREPOCOMMUNITY/$packagename" "$packagename" >/dev/null 2>&1) ; then

I think replacing "if command" with "if $(command)" is probably not what you 
want as you are no longer checking the return value but the output. Or I am 
just wrong here?

-- 

Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list