From: Dennis Groenen Date: Thu, 25 Oct 2012 15:40:22 +0000 (+0200) Subject: make scripts fail on unsupported environments X-Git-Tag: 1.20.2power4~3 X-Git-Url: http://git.maemo.org/git/?p=busybox-power;a=commitdiff_plain;h=aafdc7425f41c21534b839ed2ab51e800fe573c7 make scripts fail on unsupported environments This change was already made in preinst. Update the shared functions file to reflect that change for the other scripts as well. --- diff --git a/debian/scripts/functions b/debian/scripts/functions index c75f781..eb79512 100644 --- a/debian/scripts/functions +++ b/debian/scripts/functions @@ -32,8 +32,8 @@ CHECK_ENV() { ENVIRONMENT="HARMATTAN" ;; *) - # Unsupported, use the least strict environment (SDK) - ENVIRONMENT="SDK" + echo "busybox-power: unsupported environment: $PROD" + exit 1 ;; esac fi