File 1249-Delete-dead-code-in-otp_build-script.patch of Package erlang

From 2931385f76a4914c5797170e1e44b2878751ac84 Mon Sep 17 00:00:00 2001
From: Luca Favatella <luca.favatella@erlang-solutions.com>
Date: Mon, 21 Sep 2015 17:32:37 +0100
Subject: [PATCH] Delete dead code in `otp_build` script

In options `plain` and `smp`, code checking for option being `opt` had
been dead since R12B-5.
---
 otp_build | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/otp_build b/otp_build
index 1b79b0b..28a229b 100755
--- a/otp_build
+++ b/otp_build
@@ -1393,9 +1393,6 @@ case "$1" in
 		    TYPE=opt
 		fi;
 		FLAVOR=$1
-		if [ $FLAVOR = opt ]; then
-		    FLAVOR=plain
-		fi
 		do_boot;;
 	update_primary)
 		case $version_controller in
-- 
2.1.4

openSUSE Build Service is sponsored by