--- share/CMakeLists.txt.orig	2021-08-02 22:56:13.000000000 +0300
+++ share/CMakeLists.txt	2021-08-12 19:18:32.000000000 +0300
@@ -33,6 +33,7 @@
     )
 
 get_update_path_command(UPDATE_PATH_COMMAND)
+set(UPDATE_PATH_COMMAND "TMPDIR=/tmp")
 get_target_property(_QBS_OUTPUT_DIR qbs RUNTIME_OUTPUT_DIRECTORY)
 add_custom_target(
     BuildQbsResources ALL
