Do not create a symlink if already exists.
--HG-- branch : develop
This commit is contained in:
parent
16a0af6ca5
commit
6e194e966b
|
@ -84,7 +84,9 @@ defineTest(copyToDestdir) {
|
||||||
|
|
||||||
for(FILE, files) {
|
for(FILE, files) {
|
||||||
unix{
|
unix{
|
||||||
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) & $$escape_expand(\\n\\t)
|
!exists($$DDIR/$$basename(FILE)) {
|
||||||
|
QMAKE_POST_LINK += ln -s -f $$quote($$FILE) $$quote($$DDIR/$$basename(FILE)) & $$escape_expand(\\n\\t)
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
!exists($$DDIR/$$basename(FILE)) {
|
!exists($$DDIR/$$basename(FILE)) {
|
||||||
# Replace slashes in paths with backslashes for Windows
|
# Replace slashes in paths with backslashes for Windows
|
||||||
|
|
Loading…
Reference in New Issue
Block a user