From: Luis R. Rodriguez Date: Mon, 27 Sep 2010 22:43:26 +0000 (-0700) Subject: compat-wireless: add support for -s for gen-stable-release.sh X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ea25a2450b29906daddefe20109870c01f0355b;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: add support for -s for gen-stable-release.sh This lets us make stable releases with -s and the s pegged to the release tarball. Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/gen-stable-release.sh b/scripts/gen-stable-release.sh index 55527569751b..8646bde315eb 100755 --- a/scripts/gen-stable-release.sh +++ b/scripts/gen-stable-release.sh @@ -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"