[sysadmin-bin] ensure doap file exists before removing pending flag



commit 541497fe3b98e405dde51c727d8298bb5f5f2c7a
Author: Olav Vitters <olav vitters nl>
Date:   Sun Aug 3 00:32:15 2014 +0200

    ensure doap file exists before removing pending flag

 git/finish-import |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/git/finish-import b/git/finish-import
index 6f48741..1c5b3b7 100755
--- a/git/finish-import
+++ b/git/finish-import
@@ -28,6 +28,9 @@ if [ -e $GIT_DIR/gnome_doap ] ; then
         echo ERROR: Cannot clear pending flag as DOAP syntax is invalid >&2
         exit 1
     fi
+else
+       echo ERROR: Cannot clear pending flag. Please add a DOAP file, see https://wiki.gnome.org/Git/FAQ >&2
+       exit 1
 fi
 
 echo "Clearing pending flag on $GIT_DIR"


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