mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Ground/Share: Remove the second $$dir to prevent copying the resource
directories into the directories on a second build. Also checking for resources using the configured path instead of the hardcoded one. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1775 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
b85e322206
commit
f74d64f0be
@ -7,8 +7,8 @@ DATACOLLECTIONS = dials models pfd sounds diagrams mapicons
|
||||
|
||||
equals(copydata, 1) {
|
||||
for(dir, DATACOLLECTIONS) {
|
||||
exists(openpilotgcs/$$dir) {
|
||||
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/$$dir\") $$addNewline()
|
||||
exists($$GCS_SOURCE_TREE/share/openpilotgcs/$$dir) {
|
||||
data_copy.commands += $(COPY_DIR) $$targetPath(\"$$GCS_SOURCE_TREE/share/openpilotgcs/$$dir\") $$targetPath(\"$$GCS_DATA_PATH/\") $$addNewline()
|
||||
}
|
||||
}
|
||||
data_copy.target = FORCE
|
||||
|
Loading…
x
Reference in New Issue
Block a user