diff options
author | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-11-11 19:51:58 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2015-12-01 10:38:40 +0000 |
commit | ddd37d1b881e02c87ca580336a5f12b4941bb093 (patch) | |
tree | d30b03c5838aaa2b4d49c98976fc07d159ceb35d /share/qbs/modules/xcode | |
parent | d3897b2220d99fe2011972ea806c7433771f59fe (diff) |
Roll the global getEnv and currentEnv functions into Environment.
Change-Id: Ife3f9c53ad3fb43364c53fe7c6c08aa3983b9221
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'share/qbs/modules/xcode')
-rw-r--r-- | share/qbs/modules/xcode/xcode.qbs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/xcode/xcode.qbs b/share/qbs/modules/xcode/xcode.qbs index ad54b6cd2..f9b717867 100644 --- a/share/qbs/modules/xcode/xcode.qbs +++ b/share/qbs/modules/xcode/xcode.qbs @@ -1,5 +1,6 @@ import qbs import qbs.BundleTools +import qbs.Environment import qbs.File import qbs.FileInfo import qbs.DarwinTools @@ -108,7 +109,7 @@ Module { } property path provisioningProfilesPath: { - return FileInfo.joinPaths(qbs.getEnv("HOME"), "Library/MobileDevice/Provisioning Profiles"); + return FileInfo.joinPaths(Environment.getEnv("HOME"), "Library/MobileDevice/Provisioning Profiles"); } readonly property var _availableSdks: Utils.sdkInfoList(sdksPath) |