From c149c54eec5eb46643dc430c275763891e2d061f Mon Sep 17 00:00:00 2001 From: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> Date: Fri, 8 Jun 2018 16:03:47 -0400 Subject: [PATCH] macOS: disable path expansion Disable path expansion for macOS because it does not work for sandboxed version. Change-Id: I66bb4ef515228ac84f60328b6fb773ff3adac0a3 Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> --- src/fileutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fileutils.cpp b/src/fileutils.cpp index f29e42e2f7..e0b73d5d8a 100644 --- a/src/fileutils.cpp +++ b/src/fileutils.cpp @@ -177,7 +177,7 @@ create_pidfile() std::string expand_path(const std::string &path) { -#if defined __ANDROID__ || defined RING_UWP || defined WIN32 || (defined(TARGET_OS_IOS) && TARGET_OS_IOS) +#if defined __ANDROID__ || defined RING_UWP || defined WIN32 || defined __APPLE__ RING_ERR("Path expansion not implemented, returning original"); return path; #else -- GitLab