[gdm] dconf: fail autogen.sh if dconf overrides db fails



commit bc37b888945a6fe27539c9b0565cd1a9ab56276d
Author: Ray Strode <rstrode redhat com>
Date:   Wed Mar 2 21:07:44 2011 -0500

    dconf: fail autogen.sh if dconf overrides db fails

 autogen.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 4b9ec1e..eb1894a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,7 +17,10 @@ PKG_NAME="GDM"
     exit 1
 }
 
-(cd data/ ; ./make-dconf-override-db.sh)
+(cd $srcdir/data/ ; ./make-dconf-override-db.sh) || {
+    echo "**Error**: Script "\`$srcdir/data/make-dconf-override-db.sh\'" failed"
+    exit 1
+}
 
 which gnome-autogen.sh || {
     echo "You need to install gnome-common from the GNOME SVN"



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