Module: synfig
Branch: zelgadis_master
Commit: e24d1cb036230917979fd3893e88ac2373e70cac
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=e24d1cb036230917979fd3893e88ac2373e70cac

Author: Konstantin Dmitriev <ksee.zelga...@gmail.com>
Date:   Sat Jul 18 22:53:21 2009 +0700

synfigstudio-cph-monitor: display version correctly if built on (no branch).

---

 synfig-studio/trunk/synfigstudio-cph-monitor |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/synfig-studio/trunk/synfigstudio-cph-monitor 
b/synfig-studio/trunk/synfigstudio-cph-monitor
index 52d33ad..57ad242 100755
--- a/synfig-studio/trunk/synfigstudio-cph-monitor
+++ b/synfig-studio/trunk/synfigstudio-cph-monitor
@@ -108,14 +108,14 @@ mainloop()
                                        P=`which $P`
                                fi
                                P=`dirname $P`
-                               echo "   Assuming synfig installed in $P."
                                VERSION=`$P/synfig --info|head -n 1|cut -d '-' 
-f 2`
                                RELEASE=`$P/synfig --info|egrep "Development 
version:"|cut -d ' ' -f 3`
-                               BRANCH=`$P/synfig --info|egrep "Branch:"|cut -d 
' ' -f 2`
+                               BRANCH=`$P/synfig --info|egrep "Branch:"|cut -d 
' ' -f 2-3`
                                if [[ $BRANCH == '(no branch)' ]]; then
                                        BRANCH=`$P/synfig --info|egrep 
"Revision ID:"|cut -d ' ' -f 3`
                                fi
                                echo `date +%H:%M` "Synfig 
$VERSION.$RELEASE.$BRANCH started."
+                               echo `date +%H:%M` "Assuming Synfig installed 
in $P."
                        else
                                let RUNTIME=$RUNTIME+1
                        fi


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to