X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=ee4bd32dbc6b63d6ecc192d19a92a1d8d1346bb1;hb=d531cfaf5185ca1e74a5f15c2e3b1254968200de;hp=162f73b47dd402d0eea2852f070c1a0b644bfb29;hpb=0d30e5ebdb3f823e2d788a50ad65fb4abb3192c0;p=bootmanager.git diff --git a/build.sh b/build.sh index 162f73b..ee4bd32 100755 --- a/build.sh +++ b/build.sh @@ -10,9 +10,6 @@ # Marc E. Fiuczynski # Copyright (C) 2004-2007 The Trustees of Princeton University # -# $Id: build.sh,v 1.5 2006/04/03 19:40:55 mlhuang Exp $ -# $URL$ -# # Source PLC configuration . /etc/planetlab/plc_config @@ -55,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 @@ -66,7 +63,7 @@ fi # Add python code from the following packages # make sure they are in the 'Requires' header of the specfile -required_rpms="pypcilib pyplnet monitor-runlevelagent" +required_rpms="pypcilib pyplnet" extra_libs=`mktemp -d "/tmp/.bootmanager.XXXXXX"` mkdir $extra_libs/source cp -p $(rpm -ql $required_rpms | grep -v '\.py[co]$') $extra_libs/source