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/trunk@13022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
77f2c8c011
commit
805fb1510d
@ -126,7 +126,7 @@ sub process_request
|
||||
}
|
||||
elsif ($command eq "tabdump")
|
||||
{
|
||||
return tabdump($args, $callback);
|
||||
return tabdump($args, $callback,$request);
|
||||
}
|
||||
elsif ($command eq "lsxcatd")
|
||||
{
|
||||
@ -531,6 +531,7 @@ sub tabdump
|
||||
{
|
||||
my $args = shift;
|
||||
my $cb = shift;
|
||||
my $request = shift;
|
||||
my $table = "";
|
||||
my $HELP;
|
||||
my $DESC;
|
||||
@ -576,6 +577,7 @@ sub tabdump
|
||||
$cb->(\%rsp);
|
||||
return;
|
||||
}
|
||||
if ($FILENAME and $FILENAME !~ /^\//) { $FILENAME =~ s/^/$request->{cwd}->[0]\//; }
|
||||
|
||||
|
||||
if ($HELP) { $tabdump_usage->(0); return; }
|
||||
|
Loading…
Reference in New Issue
Block a user