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>
This commit is contained in:
Corinna Vinschen 2021-05-06 10:56:20 +02:00
parent 84d068971d
commit 895f6d2b59
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#!/bin/sh
set -e set -e
cd $(dirname $0)
/usr/bin/aclocal --force /usr/bin/aclocal --force
/usr/bin/autoconf -f /usr/bin/autoconf -f
/usr/bin/automake -ac /usr/bin/automake -ac