From 5292d6556b479c36b13fb148ed68530c586fba2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D1=80=D0=B0=D1=86=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= =?UTF-8?q?=D0=B9=20=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80?= Date: Thu, 10 Jun 2010 14:00:41 +0400 Subject: [PATCH] Fix coping memtest in CSS; --- install/calculate | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/calculate b/install/calculate index 824a65d..a78613d 100755 --- a/install/calculate +++ b/install/calculate @@ -5445,7 +5445,12 @@ sub createiso{ $isolinux = "syslinux"; } else { - $copyflash = qq| && cp -a $target/isolinux/memtest $target/syslinux/ && + my $addsoft; + { + my $mempath = "$target/isolinux/memtest"; + if(-e $mempath){$addsoft .= "&& cp -a $mempath $target/syslinux/";} + } + $copyflash = qq| $addsoft && cp -a $target/isolinux/isolinux.bin $target/syslinux/ && cp -a $target/isolinux/calcmenu.c32 $target/syslinux/ && cp $target/isolinux/boot.jpg $target/syslinux/