compat-wireless: add support for -s for gen-stable-release.sh
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Sep 2010 22:43:26 +0000 (15:43 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 27 Sep 2010 22:46:10 +0000 (15:46 -0700)
This lets us make stable releases with -s and the s pegged to the
release tarball.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
scripts/gen-stable-release.sh

index 55527569751babea96ddb07773c4da7122e7be1f..8646bde315ebe5f34ef5b41c70c258e706be16c1 100755 (executable)
@@ -54,6 +54,11 @@ POSTFIX_RELEASE_TAG="-"
 FORCE_UPDATE="no"
 
 while [ $# -ne 0 ]; do
+       if [[ "$1" = "-s" ]]; then
+               UPDATE_ARGS="${UPDATE_ARGS} $s"
+               POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}s"
+               shift; continue;
+       fi
        if [[ "$1" = "-n" ]]; then
                UPDATE_ARGS="${UPDATE_ARGS} $1"
                POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}n"