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/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