summaryrefslogtreecommitdiffstats
path: root/crypto/gnutls/PREPARE
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/gnutls/PREPARE')
-rwxr-xr-xcrypto/gnutls/PREPARE9
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/gnutls/PREPARE b/crypto/gnutls/PREPARE
index 7f99c37e8b..3c7353f5dd 100755
--- a/crypto/gnutls/PREPARE
+++ b/crypto/gnutls/PREPARE
@@ -1,7 +1,6 @@
. ${GRIMOIRE}/FUNCTIONS &&
-if [[ "$GNUTLS_BRANCH" == "3.2" ]]; then
- GNUTLS_BRANCH=stable
-elif [[ "$GNUTLS_BRANCH" == "3.1" ]]; then
- GNUTLS_BRANCH=stable-old
-fi &&
+case "$GNUTLS_BRANCH" in
+3.2) GNUTLS_BRANCH=stable;;
+3.1) GNUTLS_BRANCH=stable-old;;
+esac &&
prepare_select_branch stable stable-old