13 Mar
2010
13 Mar
'10
10:46 a.m.
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