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:
jbjohnso 2012-06-07 18:16:29 +00:00
parent 77f2c8c011
commit 805fb1510d

View File

@ -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; }