diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-25 09:15:25 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-25 09:15:25 -0700 |
commit | 4b61c3f66b44d4d47804162d25f561f681953ccb (patch) | |
tree | 8b243105744aa71cf9c204b7147302b8b006734f /src/util.lisp | |
parent | a0e7571ecee2ed4b897441e24a705667cc9db9c4 (diff) | |
download | consfigurator-4b61c3f66b44d4d47804162d25f561f681953ccb.tar.gz |
comment about WITH-REMOTE-TEMPORARY-DIRECTORY
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/util.lisp')
-rw-r--r-- | src/util.lisp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util.lisp b/src/util.lisp index 2a0d6d5..4df14a6 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -131,7 +131,11 @@ supported." (defmacro with-local-temporary-directory ((dir) &body forms) "Execute FORMS with a local temporary directory's pathname in DIR. -Currently assumes GNU mktemp(1)." +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." `(let ((,dir (ensure-directory-pathname (stripln (run-program "umask 077; mktemp -d" :output :string))))) |