[gnome-settings-daemon] build: Fix autogen.sh for builddir != srcdir



commit 43b8dc4466976a6e23ef79717e53a1ea012f580d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 3 07:29:08 2016 +0100

    build: Fix autogen.sh for builddir != srcdir
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773870

 autogen.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index d70bcb8..31faff3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,6 +22,8 @@ which gnome-autogen.sh || {
     exit 1
 }
 
+pushd "$srcdir"
+
 # Fetch submodules if needed
 if test ! -f plugins/media-keys/gvc/Makefile.am; then
   echo "+ Setting up submodules"
@@ -29,4 +31,6 @@ if test ! -f plugins/media-keys/gvc/Makefile.am; then
 fi
 git submodule update
 
+popd
+
 . gnome-autogen.sh


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