From d6f525c949fa6e88f622b903984819bce7533e8a Mon Sep 17 00:00:00 2001 From: nott Date: Sun, 21 Sep 2008 14:38:33 +0000 Subject: [PATCH] fix no SPOT creation due to conflicting variable names git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/aixinstall.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/aixinstall.pm b/xCAT-server/lib/xcat/plugins/aixinstall.pm index 308c97965..4f79152c5 100644 --- a/xCAT-server/lib/xcat/plugins/aixinstall.pm +++ b/xCAT-server/lib/xcat/plugins/aixinstall.pm @@ -1412,8 +1412,8 @@ sub mk_spot } # create resource location - my $cmd = "/usr/bin/mkdir -p $loc"; - my $output = xCAT::Utils->runcmd("$cmd", -1); + my $mkdircmd = "/usr/bin/mkdir -p $loc"; + my $output = xCAT::Utils->runcmd("$mkdircmd", -1); if ($::RUNCMD_RC != 0) { my $rsp; push @{$rsp->{data}}, "Could not create $loc.\n"; @@ -1434,8 +1434,8 @@ sub mk_spot $loc = "/tftpboot"; # create resource location - my $cmd = "/usr/bin/mkdir -p $loc"; - my $output = xCAT::Utils->runcmd("$cmd", -1); + my $mkdircmd = "/usr/bin/mkdir -p $loc"; + my $output = xCAT::Utils->runcmd("$mkdircmd", -1); if ($::RUNCMD_RC != 0) { my $rsp; push @{$rsp->{data}}, "Could not create $loc.\n"; @@ -1788,6 +1788,7 @@ sub mk_mksysb Example: Comments: + rmnimimage [-V] [-f|--force] image_name =cut