From patchwork Thu Jul 5 07:29:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 1158291 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id BD57FDFFF3 for ; Thu, 5 Jul 2012 07:30:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754154Ab2GEHa1 (ORCPT ); Thu, 5 Jul 2012 03:30:27 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:54658 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753968Ab2GEHaZ (ORCPT ); Thu, 5 Jul 2012 03:30:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1341473426; x=1373009426; h=from:mime-version:content-transfer-encoding:message-id: date:to:cc:subject; bh=9IQYzdK3Lni1e8GPQqzyht1bfUPJfRM8+D4Nnk6ozjU=; b=uGQoMz+sEbYmJmcL6/9p3gbtXmi+yy31fcBxsZ1+xqE4ZbsembXeuaAI WAK8h0N+TB+Rj4bwNSBAB6gGhyy5I1RowLsrMJUOLuDW0P5dJYOXzukjc 3NP4eZDvnNyafMANgA+DXZcFLsCLQ7dVlfggc3bHXf4+rCDz/bFlX5/3X k=; X-IronPort-AV: E=McAfee;i="5400,1158,6762"; a="207529566" Received: from ironmsg04-r.qualcomm.com ([172.30.46.18]) by wolverine01.qualcomm.com with ESMTP; 05 Jul 2012 00:30:25 -0700 X-IronPort-AV: E=Sophos;i="4.77,528,1336374000"; d="scan'208";a="340237421" Received: from nasanexhc08.na.qualcomm.com ([172.30.39.7]) by Ironmsg04-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 05 Jul 2012 00:30:25 -0700 Received: from sarge (172.30.39.5) by qcmail1.qualcomm.com (172.30.39.7) with Microsoft SMTP Server (TLS) id 14.2.309.2; Thu, 5 Jul 2012 00:30:23 -0700 From: Sujith Manoharan MIME-Version: 1.0 Message-ID: <20469.16960.475409.87512@gargle.gargle.HOWL> Date: Thu, 5 Jul 2012 12:59:04 +0530 To: Luis Rodriguez CC: Subject: [PATCH] compat-wireless: Make target/compat branch check optional X-Originating-IP: [172.30.39.5] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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 --- 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