1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

[OP-835] Qt 5.1.0 - replace $$PWD with $$_PRO_FILE_PWD_ (don't know why...)

This commit is contained in:
Philippe Renon 2013-09-15 21:53:28 +02:00
parent a9a089d40d
commit 4fd04d38f3

View File

@ -41,7 +41,7 @@ defineReplace(stripSrcDir) {
!contains(1, ^/.*):1 = $$OUT_PWD/$$1
}
out = $$cleanPath($$1)
out ~= s|^$$re_escape($$PWD/)||$$i_flag
out ~= s|^$$re_escape($$_PRO_FILE_PWD_/)||$$i_flag
return($$out)
}