Fixed small problem in gpxe deployment
authorPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 17:26:51 +0000 (19:26 +0200)
committerPravin Shinde <pravin@black-perl.(none)>
Mon, 27 Jul 2009 17:26:51 +0000 (19:26 +0200)
added -rf to the rm command when it is cleaning the old images
there may be folder which will force image copying to fail

deploy_gpxe.sh

index c623516..8a87279 100755 (executable)
@@ -18,7 +18,7 @@ perl -p -i -e "$regular_expression" pxeSTATIC.gpxe
 ./custom_make.sh
 echo "removing old gpxe images..."
 cd $BKOPATH
-rm ./gpxe_images/*
+rm -rf ./gpxe_images/*
 echo "copying gpxe images..."
 cp $gpxePATH/src/bin/gpxe.dsk ./gpxe_images/
 cp $gpxePATH/src/bin/gpxe.usb ./gpxe_images/