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
This commit is contained in:
parent
4b0e3db9ea
commit
d6f525c949
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user