From: Leo Famulari <leo@famulari.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: libtool: Use 'modify-phases'.
Date: Thu, 5 Jan 2017 10:43:48 -0500 [thread overview]
Message-ID: <20170105154348.GA21781@jasmine> (raw)
In-Reply-To: <87fukxvlmg.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]
On Thu, Jan 05, 2017 at 11:36:55AM +0100, Ludovic Courtès wrote:
> Leo Famulari <leo@famulari.name> skribis:
> > On Sun, Jan 01, 2017 at 03:24:27PM +0000, ng0 wrote:
> > + (modify-phases %standard-phases
> > + (add-before 'check 'pre-check
> > + (lambda* (#:key inputs #:allow-other-keys)
>
> Could you align “(” below the ‘d’ of ‘add-before’?
Done.
> > + (add-after 'patch-source-shebangs 'restore-ltmain-shebang
> > + (lambda* (#:key inputs #:allow-other-keys)
>
> Likewise.
Done.
> > + (substitute* "build-aux/ltmain.in"
> > + (((string-append (assoc-ref inputs "bash") "/bin/sh"))
> > + "/bin/sh")))))))
>
> We should use literal strings for patterns, like:
>
> (substitute* …
> (("^#!.*/bin/sh$") …))
Done.
> > From 809120b991603b8c557be7481be2bbae29bd8a7f Mon Sep 17 00:00:00 2001
> > From: Leo Famulari <leo@famulari.name>
> > Date: Wed, 4 Jan 2017 19:44:27 -0500
> > Subject: [PATCH 3/3] gnu: libtool: Don't replace 'sh' reference with 'bash'.
> >
> > Bash behaves differently based on how it is invoked (see Invocation in bash(1)).
> >
> > * gnu/packages/autotools.scm (libtool)[arguments]: Use /bin/sh instead
> > of /bin/bash in 'pre-check' phase. Fix typo in comment.
>
> Makes sense.
More are coming!
> Could you push them to ‘core-updates’?
Done!
> Thank you Leo & ng0!
Thanks ng0!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-01-05 15:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-01 14:45 Fix bug #25304 (restore libtool ltmain.sh shebang) ng0
2017-01-01 14:45 ` [PATCH] gnu: libtool: Restore ltmain.sh shebang ng0
2017-01-01 14:50 ` Ricardo Wurmus
2017-01-01 15:24 ` [PATCH 1/2] gnu: libtool: Use 'modify-phases' ng0
2017-01-01 15:24 ` [PATCH 2/2] gnu: libtool: Restore ltmain.sh shebang ng0
2017-01-05 1:09 ` [PATCH 1/2] gnu: libtool: Use 'modify-phases' Leo Famulari
2017-01-05 10:04 ` ng0
2017-01-05 10:36 ` Ludovic Courtès
2017-01-05 10:55 ` ng0
2017-01-05 15:43 ` Leo Famulari [this message]
2017-01-05 13:50 ` Marius Bakke
2017-01-05 15:46 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170105154348.GA21781@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).