public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: autogen.sh: Allow running from any directory
@ 2021-05-06  9:20 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-05-06  9:20 UTC (permalink / raw)
  To: cygwin-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-06  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06  9:20 [newlib-cygwin] Cygwin: autogen.sh: Allow running from any directory Corinna Vinschen

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).