[MPlayer-cvslog] r18625 - trunk/version.sh
ivo
subversion at mplayerhq.hu
Wed Jun 7 17:03:25 CEST 2006
Author: ivo
Date: Wed Jun 7 17:03:25 2006
New Revision: 18625
Modified:
trunk/version.sh
Log:
avoid usage of head -1/head -n 1 and use sed 1q instead
Modified: trunk/version.sh
==============================================================================
--- trunk/version.sh (original)
+++ trunk/version.sh Wed Jun 7 17:03:25 2006
@@ -1,6 +1,6 @@
#!/bin/sh
-revision=r`grep committed-rev .svn/entries | head -n 1 | cut -d '"' -f 2 2>/dev/null`
+revision=r`grep committed-rev .svn/entries | sed 1q | cut -d '"' -f 2 2>/dev/null`
extra=""
if test "$1" ; then
More information about the MPlayer-cvslog
mailing list