diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-12 11:37:17 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-05-19 11:35:41 +0000 |
commit | 97da59dbe1054a591f87557709d0d2703f517629 (patch) | |
tree | 2c7c9daa6bca32edfceaf03dcd37f6b7e6ba121b | |
parent | 1d2337f03278a6c5b9b09bc8649e6dcda268ef3e (diff) |
nuke unused cleanPath() function
Change-Id: I6589e7ebeef2dd90ae4cd82d478a8c6efc533911
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r-- | static.pro | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/static.pro b/static.pro index bfcd032fa..c96315d16 100644 --- a/static.pro +++ b/static.pro @@ -3,19 +3,6 @@ TEMPLATE = aux DATA_DIRS = share/qbs/imports share/qbs/modules win32:DATA_FILES = $$PWD/bin/ibmsvc.xml $$PWD/bin/ibqbs.bat -defineReplace(cleanPath) { - win32:1 ~= s|\\\\|/|g - contains(1, ^/.*):pfx = / - else:pfx = - segs = $$split(1, /) - out = - for(seg, segs) { - equals(seg, ..):out = $$member(out, 0, -2) - else:!equals(seg, .):out += $$seg - } - return($$join(out, /, $$pfx)) -} - # For use in custom compilers which just copy files defineReplace(stripSrcDir) { return($$relative_path($$absolute_path($$1, $$OUT_PWD), $$_PRO_FILE_PWD_)) |