From f5930a8f728b4efb20d5ecd229e407d4307dea74 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 19 Sep 2021 18:46:12 -0700 Subject: be more specific regarding POSIX and the creation of temporary dirs POSIX lacks 'mktemp -d' but it does have mkdtemp(3). Signed-off-by: Sean Whitton --- src/util.lisp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util.lisp') diff --git a/src/util.lisp b/src/util.lisp index 0396fde..11bd496 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -175,9 +175,9 @@ supported." "Execute FORMS with a local temporary directory's pathname in DIR. Currently assumes GNU mktemp(1). -There is no WITH-REMOTE-TEMPORARY-DIRECTORY because POSIX doesn't have a way -to create temporary directories. If you need a remote temporary directory, -one solution is to convert your property to a :LISP property." +There is no WITH-REMOTE-TEMPORARY-DIRECTORY because POSIX doesn't include a +shell utility to create temporary directories. If you need a remote temporary +directory, one solution is to convert your property to a :LISP property." `(let ((,dir (ensure-directory-pathname (stripln (run-program "umask 077; mktemp -d" :output :string))))) -- cgit v1.2.3