autogen.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
New commits: commit c254cc333b338b71bfd720baa19e313b97a43c7b Author: Henry Castro <hcas...@collabora.com> Date: Thu Apr 12 15:43:19 2018 -0400 execute autogen.sh from a build directory Change-Id: Ibd394549366d0059fe27696343870645e1e11947 diff --git a/autogen.sh b/autogen.sh index bf5655b98..1ce95d840 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,11 @@ #! /bin/bash +srcdir=`dirname $0` +test -n "$srcdir" || srcdir=. + +olddir=`pwd` +cd "$srcdir" + function failed { cat << EOF 1>&2 @@ -22,6 +28,8 @@ autoreconf || failed "autoreconf" cat << EOF -Result: All went OK, please run ./configure (with the appropriate parameters) now. +Result: All went OK, please run $srcdir/configure (with the appropriate parameters) now. EOF + +cd "$olddir" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits