mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
uiop/os:chdir -> ros.util:chdir
This commit is contained in:
parent
a96dbf8bce
commit
44523c3c66
|
|
@ -106,8 +106,7 @@
|
|||
(uri "https://gist.githubusercontent.com/snmsts/e8e4fd4bd5e458ac45e8/raw/bb7f1cd2e8e9a914f4e9b1b5acf889ecf75dfe0c/posix-tests.patch"))
|
||||
(format t "~&Downloading patch: ~A~%" uri)
|
||||
(download uri file)
|
||||
(uiop/os:chdir (get-opt "src"))
|
||||
(format t "~&chdir ~A~%" (get-opt "src"))
|
||||
(ros.util:chdir (get-opt "src"))
|
||||
(format t "~%Applying patch:~%")
|
||||
(uiop/run-program:run-program "patch -p0 -N" :output t :input file :ignore-error-status t))
|
||||
(cons t argv))
|
||||
|
|
@ -147,8 +146,7 @@
|
|||
#-win32 'identity
|
||||
(get-opt "prefix"))))))
|
||||
(*standard-output* (make-broadcast-stream out #+sbcl(make-instance 'count-line-stream))))
|
||||
(uiop/os:chdir src)
|
||||
(format t "~&chdir ~A~%" src)
|
||||
(ros.util:chdir src)
|
||||
(format t "~&~S~%" cmd)
|
||||
(uiop/run-program:run-program cmd :output t :ignore-error-status nil)))
|
||||
(cons t argv))
|
||||
|
|
@ -163,8 +161,7 @@
|
|||
(format t "~&prefix: ~s~%" impl-path)
|
||||
(ensure-directories-exist impl-path)
|
||||
(ensure-directories-exist log-path)
|
||||
(uiop/os:chdir src)
|
||||
(format t "~&chdir ~A~%" src)
|
||||
(ros.util:chdir src)
|
||||
(ros:unsetenv "SBCL_HOME")
|
||||
(ros:setenv "INSTALL_ROOT" (format nil "~A" install-root))
|
||||
(with-open-file (out log-path :direction :output :if-exists :append :if-does-not-exist :create)
|
||||
|
|
@ -273,8 +270,7 @@
|
|||
(defun sbcl-clean (argv)
|
||||
(format t "~&Cleaning~%")
|
||||
(let ((src (get-opt "src")))
|
||||
(uiop/os:chdir src)
|
||||
(format t "~&chdir ~A~%" src)
|
||||
(ros.util:chdir src)
|
||||
(let* ((out (make-broadcast-stream))
|
||||
(*standard-output* (make-broadcast-stream
|
||||
out #+sbcl(make-instance 'count-line-stream))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue