mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
83882f6d92
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1001 a592a061-630c-0410-9148-cb99ea01b6c8
16 lines
347 B
C
16 lines
347 B
C
#include <config.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "support/lyxlib.h"
|
|
#include "LString.h"
|
|
#include "support/syscall.h"
|
|
#include "support/filetools.h"
|
|
|
|
bool lyx::copy(char const * from, char const * to)
|
|
{
|
|
string command = "cp " + QuoteName(from) + " " + QuoteName(to);
|
|
return Systemcalls().startscript(Systemcalls::System,
|
|
command) == 0;
|
|
}
|