[nautilus-sendto] build: Fix srcdir != builddir in jhbuild



commit 77108fc97c0205e21733069388146fe725473f46
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 21 17:32:34 2017 +0200

    build: Fix srcdir != builddir in jhbuild

 autogen.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 047d4a7..cf818b9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,8 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
+olddir=`pwd`
+
 PKG_NAME="nautilus-sendto"
 
 (test -f $srcdir/configure.ac ) || {
@@ -16,4 +18,6 @@ which gnome-autogen.sh || {
     echo "You need to install gnome-common from the GNOME CVS"
     exit 1
 }
+
+cd "$olddir"
 REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]