compat-wireless: fix fallbacks for unknown branch, remote or remote URL
authorPavel Roskin <proski@gnu.org>
Wed, 7 Apr 2010 22:08:10 +0000 (18:08 -0400)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 7 Apr 2010 22:11:23 +0000 (15:11 -0700)
commit443441e9af14688bec17add676f880bd93734ddd
tree5b17b455821b23649d18cd60cfc048aeeab83d24
parent62893a365debd15f3d8b2c7e323e627003aa5f55
compat-wireless: fix fallbacks for unknown branch, remote or remote URL

Use bash syntax that yields the replacement value if the variable is
either empty or unset.  The original code would only check for unset
variables, but the variable would be set even if git failed to give any
output to stdout.

Signed-off-by: Pavel Roskin <proski@gnu.org>
scripts/admin-update.sh