X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-executable%2Fsb-executable.lisp;h=90d39d49d533b78f0a4fba7c7e652e03c1a313f4;hb=286cb407fcf618572b874ace57c119fe284d14c5;hp=4273d8d79d024e676131a5246112a53af118534d;hpb=6ffb09605de7f990332aee146d8f69ba4cc907c9;p=sbcl.git diff --git a/contrib/sb-executable/sb-executable.lisp b/contrib/sb-executable/sb-executable.lisp index 4273d8d..90d39d4 100644 --- a/contrib/sb-executable/sb-executable.lisp +++ b/contrib/sb-executable/sb-executable.lisp @@ -30,7 +30,9 @@ exec sbcl --noinform ~{~A ~}--eval \"(with-open-file (i \\\"$0\\\" :element-type "--sysinit /dev/null")) initial-function) "Write an executable called OUTPUT-FILE which can be run from the shell, by 'linking' together code from FASLS. Actually works by concatenating them and prepending a #! header" - (with-open-file (out output-file :direction :output + (with-open-file (out output-file + :direction :output + :if-exists :supersede :element-type '(unsigned-byte 8)) (write-sequence (map 'vector #'char-code (format nil *exec-header* runtime-flags