aboutsummaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-03-11 15:14:39 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-03-11 16:25:36 -0700
commitf2ba47b7ef017a01a4b6c13982ff43a67cc6abd5 (patch)
treecbc2819dd7dc4ab41ff3f94b148ffed2290b63f8 /src/util.lisp
parentbd133225c65902d162d8bfe20257eb0f739487aa (diff)
downloadconsfigurator-f2ba47b7ef017a01a4b6c13982ff43a67cc6abd5.tar.gz
drop SYSTEM and add simpler code in a FLET where it's needed
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.lisp b/src/util.lisp
index a0110ef..3238b79 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -350,18 +350,6 @@ expansion as a starting point for your own DEFPACKAGE form for your consfig."
else do (princ #\: s)
(loop-finish)))))))))
-(defun system (&rest args)
- "Simple wrapper around system(3)."
- (foreign-funcall
- "system" :string (if (cdr args)
- (escape-sh-command
- (loop for arg in args
- if (pathnamep arg)
- collect (unix-namestring arg)
- else collect arg))
- (car args))
- :int))
-
(eval-when (:compile-toplevel :load-toplevel :execute)
(define-constant +alphanum+
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"