ruki 1 年間 前
コミット
a317e1d9d2
1 ファイル変更2 行追加1 行削除
  1. 2 1
      configure

+ 2 - 1
configure

@@ -202,8 +202,9 @@ _os_tryrm() {
 }
 }
 
 
 # get temporary file
 # get temporary file
+# https://github.com/xmake-io/xmake/issues/5464
 _os_tmpfile() {
 _os_tmpfile() {
-    _ret=$(mktemp)
+    _ret=$(mktemp "${TMPDIR-/tmp}/tmp.XXXXXXXX")
 }
 }
 
 
 # try run program
 # try run program