git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Santi Béjar" <santi@agolina.net>
To: Git Mailing List <git@vger.kernel.org>, Jeff King <peff@peff.net>
Subject: make install fails with $bindir = $execdir
Date: Fri, 10 Jul 2009 12:11:59 +0200	[thread overview]
Message-ID: <adf1fd3d0907100311k3b70c9f4va077e96a499ce093@mail.gmail.com> (raw)

Hi *,

  since commit 4ecbc17 (Makefile: install 'git' in execdir,
2009-07-09), included in v1.6.4-rc0, the install fails when $bindir is
equal to $execdir with:

bindir=$(cd '/home/pcl305/sbejar/usr/stow/git/bin' && pwd) && \
        execdir=$(cd '/home/pcl305/sbejar/usr/stow/git/bin' && pwd) && \
        { rm -f "$execdir/git" && \
                test -z "" && \
                ln "$bindir/git" "$execdir/git" 2>/dev/null || \
                cp "$bindir/git" "$execdir/git"; } && \
        { for p in  ..list..of..builtins; do \
                rm -f "$execdir/$p" && \
                ln "$execdir/git" "$execdir/$p" 2>/dev/null || \
                ln -s "git" "$execdir/$p" 2>/dev/null || \
                cp "$execdir/git" "$execdir/$p" || exit; \
          done; } && \
        ./check_bindir "z$bindir" "z$execdir" "$bindir/git-add"
cp: cannot stat `/home/pcl305/sbejar/usr/stow/git/bin/git': No such
file or directory
make: *** [install] Error 1

I understant what happens, but all this is very delicate, so I'll try
to fix it but I don't know when.
Maybe we need also tests for this.

Santi

             reply	other threads:[~2009-07-10 10:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-10 10:11 Santi Béjar [this message]
2009-07-10 10:35 ` make install fails with $bindir = $execdir Johannes Sixt
2009-07-10 11:57   ` Santi Béjar

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adf1fd3d0907100311k3b70c9f4va077e96a499ce093@mail.gmail.com \
    --to=santi@agolina.net \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /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.
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 NNTP newsgroup(s).