Currently we use some really ugly shell scripting to grab the svn revision of
our packages.  I propose that we change this to what I have been using with the
darkness theme for some time:

current:
(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F :
'{printf("%s\n", $1);}' | tr -d ' :MSP\n'

changed:
svnversion -n "${SVN_REPO_PATH:-.}"|grep -Eo "^[0-9]+"

Comments welcome.

-- 
Mike Blumenkrantz
Zentific: We run the three-legged race individually.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to