compat-drivers: change condition for kernel.org release target
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 9 Oct 2012 00:02:24 +0000 (17:02 -0700)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 9 Oct 2012 02:02:07 +0000 (19:02 -0700)
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 <mcgrof@do-not-panic.com>
scripts/gen-release.sh

index 028a1752777b1dca37e3ee4632447d74eb48acaf..04ce7927a3c678e1f44a985a1d7f093d7866fd20 100755 (executable)
@@ -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