mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
Replace copy file commands with platform independent ones
This commit is contained in:
parent
886bcfeaf8
commit
31b679eedf
@ -43,7 +43,8 @@ function Raw:project()
|
|||||||
buildmessage 'Copying rawfile %{file.relpath}'
|
buildmessage 'Copying rawfile %{file.relpath}'
|
||||||
buildcommands {
|
buildcommands {
|
||||||
-- Relpath contains two .. so build/raw is getting reverted in the target path
|
-- Relpath contains two .. so build/raw is getting reverted in the target path
|
||||||
"cp \"%{file.relpath}\" \"%{cfg.targetdir}/build/raw/%{file.relpath}\""
|
"{MKDIR} \"%{cfg.targetdir}/build/raw/%{file.reldirectory}\"",
|
||||||
|
"{COPYFILE} \"%{file.relpath}\" \"%{cfg.targetdir}/build/raw/%{file.relpath}\""
|
||||||
}
|
}
|
||||||
buildoutputs {
|
buildoutputs {
|
||||||
"%{cfg.targetdir}/build/raw/%{file.relpath}"
|
"%{cfg.targetdir}/build/raw/%{file.relpath}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user