~ruther/guix-local

ref: 56daf847a067b806f4e333c8849b387ea30df6e3 guix-local/gnu/packages/patches/maxima-defsystem-mkdir.patch -rw-r--r-- 706 bytes
56daf847 — Christopher Baines gnu: nar-herder: Update to 0-44.3794b25. 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Change 'ensure-directories-exist' to look for 'mkdir' in $PATH, not in /bin.

--- maxima-5.36.1/lisp-utils/defsystem.lisp.orig	2014-11-22 16:21:30.000000000 -0500
+++ maxima-5.36.1/lisp-utils/defsystem.lisp	2015-05-25 21:53:31.223648483 -0400
@@ -4627,7 +4627,7 @@
         (cmd (if (member :win32 *features*)
                  (format nil "mkdir \"~a\""
                          (coerce (subst #\\ #\/ (coerce (namestring dir) 'list)) 'string))
-                 (format nil "/bin/mkdir -p ~S" (namestring dir)))))
+                 (format nil "mkdir -p ~S" (namestring dir)))))
    (unless (directory dir)
      (lisp:system cmd))
    ;; The second return value is supposed to be T if directories were