Message ID | 20469.16960.475409.87512@gargle.gargle.HOWL (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Thu, Jul 5, 2012 at 12:29 AM, Sujith Manoharan <c_manoha@qca.qualcomm.com> wrote: > The safety check to ensure that the target kernel and the > local compat-wireless branch are the same can be adjusted a > bit to allow users to generate stable releases from a temporary > branch. > > Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Thanks, applied and pushed, I also propagated this to the linux-3.5.y branch. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/scripts/gen-stable-release.sh b/scripts/gen-stable-release.sh index 6bfba03..5a7dc5f 100755 --- a/scripts/gen-stable-release.sh +++ b/scripts/gen-stable-release.sh @@ -145,7 +145,12 @@ if [[ $COMPAT_WIRELESS_BRANCH != $TARGET_KERNEL_RELEASE ]]; then echo -e "You are on the compat-wireless ${GREEN}${COMPAT_WIRELESS_BRANCH}${NORMAL} but are " echo -en "on the ${RED}${TARGET_KERNEL_RELEASE}${NORMAL} branch... " echo -e "try changing to that first." - exit + + read -p "Do you still want to continue (y/N)? " + if [[ "${REPLY}" != "y" ]]; then + echo -e "Bailing out !" + exit + fi fi
The safety check to ensure that the target kernel and the local compat-wireless branch are the same can be adjusted a bit to allow users to generate stable releases from a temporary branch. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> --- scripts/gen-stable-release.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)