diff options
Diffstat (limited to 'src/util.lisp')
-rw-r--r-- | src/util.lisp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp index 82a7f55..a109720 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -178,6 +178,10 @@ one-dimensional collections of values." (merge-pathnames (enough-pathname pathname #P"/") (ensure-directory-pathname chroot))) +(defun in-chroot-pathname (pathname chroot) + (ensure-pathname (enough-pathname pathname chroot) + :ensure-absolute t :defaults #P"/")) + ;;;; Progress & debug printing |