Commit d472a663 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

use the right reference variable for source path

$$PWD is not really defined at this point. in qt4 it was the last value
assigned to it, while in qt5 it is just missing.

Change-Id: I4e70d234a7d5cee88e2d081b053e1ffa1070f788
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 4ef2fbd4
......@@ -65,7 +65,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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment