From: Luis R. Rodriguez Date: Tue, 9 Oct 2012 00:02:24 +0000 (-0700) Subject: compat-drivers: change condition for kernel.org release target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b074e4b280e992ea04b66f92f0b2f0e230f7d849;p=openwrt%2Fstaging%2Fblogic.git compat-drivers: change condition for release target When making a kernel.org release you should use gen-release.sh -u, so just checking for the usage of that variable is better. Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/gen-release.sh b/scripts/gen-release.sh index 028a1752777b..04ce7927a3c6 100755 --- a/scripts/gen-release.sh +++ b/scripts/gen-release.sh @@ -206,8 +206,9 @@ fi ./scripts/git-paranoia $PARANOIA if [[ $? -ne 0 ]]; then - if [[ "$PARANOIA" != "-i" ]]; then - echo -e "Given that this is a targeted ${CYAN}kernel.org${NORMAL} release we are bailing." + if [[ "$USE_KUP" = "1" ]]; then + echo -e "Given that this is a targeted ${CYAN}kernel.org${NORMAL}" + echo -e "release we are bailing." exit 1 fi echo