From 170125df7ad0c1d6df7537f4ef2505a2e45c2aa0 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 7 May 2008 19:50:14 +0000 Subject: [PATCH] -Fix typo that caused mknb to fail to reap temp space git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/mknb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/mknb.pm b/xCAT-server-2.0/lib/xcat/plugins/mknb.pm index a778dfb9c..081714d96 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/mknb.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/mknb.pm @@ -84,7 +84,7 @@ sub process_request { } $callback->({data=>["Creating nbfs.$arch.gz in $tftpdir/xcat"]}); system("cd $tempdir; find . | cpio -o -H newc | gzip -9 > $tftpdir/xcat/nbfs.$arch.gz"); - system ("rm -rf $temdir"); + system ("rm -rf $tempdir"); my $hexnets = xCAT::Utils->my_hexnets(); my $consolecmdline; if (defined($serialport) and $serialspeed) {