Fix problem where tabdump -f would fail to correct for relative paths. It really shouldn't be doing this server side at all....
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
af880698b3
commit
d79a8413f2
@ -119,7 +119,7 @@ sub process_request
|
||||
}
|
||||
elsif ($command eq "tabdump")
|
||||
{
|
||||
return tabdump($args, $callback);
|
||||
return tabdump($args, $callback,$request);
|
||||
}
|
||||
elsif ($command eq "lsxcatd")
|
||||
{
|
||||
@ -494,6 +494,7 @@ sub tabdump
|
||||
{
|
||||
my $args = shift;
|
||||
my $cb = shift;
|
||||
my $request = shift;
|
||||
my $table = "";
|
||||
my $HELP;
|
||||
my $DESC;
|
||||
@ -539,6 +540,7 @@ sub tabdump
|
||||
$cb->(\%rsp);
|
||||
return;
|
||||
}
|
||||
if ($FILENAME and $FILENAME !~ /^\//) { $FILENAME =~ s/^/$request->{cwd}->[0]\//; }
|
||||
|
||||
|
||||
if ($HELP) { $tabdump_usage->(0); return; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user