X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=9fe81cda495999b181b6685d4ea1a959a9ab0704;hb=7558599465b80202c5857a7569936084c3d40135;hp=7150ef07e592345d8f92fd086ddacbc66484f73c;hpb=55ab2e2cc7f6d9fa4e5716e76284853213a2772f;p=bootmanager.git diff --git a/build.sh b/build.sh index 7150ef0..9fe81cd 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ # Mark Huang # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id$ +# $Id: build.sh,v 1.5 2006/04/03 19:40:55 mlhuang Exp $ # # Source PLC configuration @@ -72,8 +72,8 @@ sed -i -e "s@^BOOT_API_SERVER.*@BOOT_API_SERVER=https://$PLC_API_HOST:443/$PLC_A $srcdir/source/configuration # Replace the default debug SSH key -if [ -f "$PLC_DEBUG_SSH_KEY" ] ; then - install -D -m 644 "$PLC_DEBUG_SSH_KEY" $srcdir/source/debug_files/debug_root_ssh_key +if [ -f "$PLC_DEBUG_SSH_KEY_PUB" ] ; then + install -D -m 644 "$PLC_DEBUG_SSH_KEY_PUB" $srcdir/source/debug_files/debug_root_ssh_key fi # Embed the uuencoded tarball in the script