X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;fp=build.sh;h=2299dca23aef4fc4037d478982233b02bb8901c4;hb=1cb9bb09ee47443e97fd224e3f8ed4518ac29522;hp=a00e3631a7db9afe1801de96a7faef1ec89f6300;hpb=cac7f3e9d587e12e935ce63dbb2a59637f492092;p=bootmanager.git diff --git a/build.sh b/build.sh index a00e363..2299dca 100755 --- a/build.sh +++ b/build.sh @@ -52,8 +52,8 @@ fi sed -i -e "s@^MONITOR_SERVER.*@MONITOR_SERVER=$MONITOR_SERVER@" source/configuration install -D -m 644 $PLC_BOOT_CA_SSL_CRT source/cacert/$PLC_BOOT_HOST/cacert.pem -if [ -f $PLC_MONITOR_CA_SSL_CRT ] ; then - install -D -m 644 $PLC_MONITOR_CA_SSL_CRT source/cacert/$PLC_MONITOR_HOST/cacert.pem +if [ -f "$PLC_MONITOR_CA_SSL_CRT" ] ; then + install -D -m 644 "$PLC_MONITOR_CA_SSL_CRT" source/cacert/$PLC_MONITOR_HOST/cacert.pem fi # Replace the default debug SSH key