Closed GoogleCodeExporter closed 8 years ago
Ahh missed the quotes while fixxing Issue 198.
fixed in svn the line to:
exec('cp -Rf ' . escapeshellarg($sourceFile . '/*') . ' ' .
escapeshellarg($targetDir), $out, $res1);
Can you please try and report if it works? As I haven't such a setup yet handy.
Also fixed the Windows XCopy line.
Original comment by opitz.al...@googlemail.com
on 27 Apr 2012 at 10:42
Sorry, I have been dealing with some other issues so I haven't been able to
test it. As soon as I get a chance I'll test it.
Original comment by tiagoafs...@gmail.com
on 28 Apr 2012 at 2:47
I have just tested as per your instructions and it didn't work:
cp: cannot stat `/var/xinc/projects/project/doc/dir/*': No such file or
directory
This seemed a bit odd IMHO so I tested again with my correction and it worked.
I see no major difference here and no reason why it should not work but the
fact is... it doesn't!
Original comment by tiagoafs...@gmail.com
on 28 Apr 2012 at 4:55
Can you post your config please?
Original comment by opitz.al...@googlemail.com
on 28 Apr 2012 at 7:22
[deleted comment]
So, excuse my delay but I got my sweet baby Helena. :-D
So, I changed the line from
exec('cp -Rf ' . escapeshellarg($sourceFile . '/*') . ' ' .
escapeshellarg($targetDir), $out, $res1);
into
exec('cp -Rf ' . escapeshellarg($sourceFile) . ' ' .
escapeshellarg($targetDir), $out, $res1);
Removing the string part after $sourceFile and it worked for my example. Hope
that helps.
Original comment by opitz.al...@googlemail.com
on 8 May 2012 at 6:56
Is in SVN
Original comment by opitz.al...@googlemail.com
on 17 May 2012 at 10:33
Original issue reported on code.google.com by
tiagoafs...@gmail.com
on 27 Apr 2012 at 10:00