avoid usage of head -1/head -n 1 and use sed 1q instead

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18625 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ivo 2006-06-07 15:03:25 +00:00
parent b13029335f
commit fb02e87565
1 changed files with 1 additions and 1 deletions

View File

@ -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