[gnome-online-accounts] build: Fix the if-else branch



commit 409db2215ee27bd8eed14f34cdce8cf8b4263d38
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Oct 26 12:26:30 2017 +0200

    build: Fix the if-else branch
    
    This was a bug in the sample template given in:
    https://wiki.gnome.org/Projects/GnomeCommon/Migration
    
    It made exit complain about too many arguments, and the "Now type ..."
    string would never get echoed.

 autogen.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index eed9682..b1ff542 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -37,7 +37,9 @@ cd "$olddir"
 if [ "$NOCONFIGURE" = "" ]; then
        $srcdir/configure "$@" || exit 1
 
-       if [ "$1" = "--help" ]; then exit 0 else
+       if [ "$1" = "--help" ]; then
+               exit 0
+       else
                echo "Now type 'make' to compile $PKG_NAME" || exit 1
        fi
 else


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