diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2017-11-03 16:16:00 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2017-11-03 15:30:16 +0000 |
commit | 272903fc82f072b0472e38a60adb6860f60bda9d (patch) | |
tree | c03eb1e7c053a2be46f810efe739fe0b4ec1894d | |
parent | 0b6040b505b1b6a02cdc7d152c9ca7f27bf20974 (diff) |
Fix the copy command on linux
On unix the COPY_DIR command works a little bit different. Only specify
the output directory instead of specifying the name as well.
Change-Id: Icb4dc430cd1af472099cb0365d2b5bbf18a83cd3
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
-rw-r--r-- | copydata.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/copydata.pro b/copydata.pro index 3846cb7..9286fa7 100644 --- a/copydata.pro +++ b/copydata.pro @@ -5,7 +5,8 @@ DIRECTORIES = examples apps imports sysui styles FILES = am-config.yaml am-config-dev.yaml Main.qml for (d , DIRECTORIES) { - do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD/$${d}) $$escape_expand(\n\t) + win32: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD/$${d}) $$escape_expand(\n\t) + else: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD) $$escape_expand(\n\t) } for (f , FILES) { do_copydata.commands += $(COPY) $$shell_path($$PWD/$${f}) $$shell_path($$OUT_PWD/$${f}) $$escape_expand(\n\t) |