[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toward 0.2

From: Nikita Karetnikov
Subject: Re: Toward 0.2
Date: Sun, 03 Mar 2013 00:17:37 +0400

What about this patch?

Is there a way to compose the following part somehow to prevent a
possible race condition?

    (rename-file prog prog-real)

    (with-output-to-file prog (lambda ()
                                (format #t
                                        "#!~a~%~a~%exec ~a~%"
                                        (which "bash")
                                        (string-join (map export-variable vars)
                                        (canonicalize-path prog-real))))
    (chmod prog #o755)))

Attachment: 0001-utils-Add-wrap-program.patch
Description: Text Data

Attachment: pgpmWTzVHA7sA.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]