public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: autogen.sh: Allow running from any directory
Date: Thu,  6 May 2021 09:20:13 +0000 (GMT)	[thread overview]
Message-ID: <20210506092013.A8BFE3A64001@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=895f6d2b598e5d0da020eef2edb92f215db8eb39

commit 895f6d2b598e5d0da020eef2edb92f215db8eb39
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu May 6 10:56:20 2021 +0200

    Cygwin: autogen.sh: Allow running from any directory
    
    autogen.sh expects to run from within the winsup dir, so
    set CWD accordingly before running autotools.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/autogen.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winsup/autogen.sh b/winsup/autogen.sh
index 2dae1ae37..22036d976 100755
--- a/winsup/autogen.sh
+++ b/winsup/autogen.sh
@@ -1,4 +1,6 @@
+#!/bin/sh
 set -e
+cd $(dirname $0)
 /usr/bin/aclocal --force
 /usr/bin/autoconf -f
 /usr/bin/automake -ac


                 reply	other threads:[~2021-05-06  9:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20210506092013.A8BFE3A64001@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.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.
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).