Skip to content

Commit

Permalink
Fix bad path in tgz
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jul 30, 2024
1 parent 2af118a commit 897d7a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions toolkit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@

(defun tgz (files output &rest tar-args &key (if-exists :error) &allow-other-keys)
(let ((tar (make-pathname :type "tar" :defaults output)))
(apply #'tar files tar :if-exists :error tar-args)
(unwind-protect
(gz tar output :if-exists if-exists)
(unwind-protect (progn (apply #'tar files tar :if-exists :error tar-args)
(gz tar output :if-exists if-exists))
(delete-file tar))))

(defun enlist (list &rest els)
Expand Down

0 comments on commit 897d7a9

Please sign in to comment.