2012-07-05 07:30:25

by Sujith Manoharan

[permalink] [raw]
Subject: [PATCH] compat-wireless: Make target/compat branch check optional

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 <[email protected]>
---
scripts/gen-stable-release.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

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


--
1.7.11.1



2012-07-05 16:44:43

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: [PATCH] compat-wireless: Make target/compat branch check optional

On Thu, Jul 5, 2012 at 12:29 AM, Sujith Manoharan
<[email protected]> 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 <[email protected]>

Thanks, applied and pushed, I also propagated this to the linux-3.5.y branch.

Luis