From 62586ee367762ec22ec09067fd84555dd10febab Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 4 Dec 2006 20:07:18 +0000 Subject: [PATCH] support RC1 configs --- newbuild.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/newbuild.sh b/newbuild.sh index 033d56e..076ed5c 100755 --- a/newbuild.sh +++ b/newbuild.sh @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: build.sh,v 1.42 2006/11/22 20:40:48 mef Exp $ +# $Id: newbuild.sh,v 1.1 2006/12/02 04:55:53 mlhuang Exp $ # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -22,6 +22,15 @@ else exit 1 fi +# This support for backwards compatibility can be taken out in the +# future. RC1 based MyPLCs set $PLC_BOOT_SSL_CRT in the plc_config +# file, but >=RC2 based bootcd assumes that $PLC_BOOT_CA_SSL_CRT is +# set. +if [ -z "$PLC_BOOT_CA_SSL_CRT" -a ! -z "$PLC_BOOT_SSL_CRT" ] ; then + PLC_BOOT_CA_SSL_CRT=$PLC_BOOT_SSL_CRT + PLC_API_CA_SSL_CRT=$PLC_API_SSL_CRT +fi + output="$PLC_NAME-BootCD-$BOOTCD_VERSION.iso" usage() -- 2.43.0