From: Darren S. <ds...@us...> - 2005-05-31 17:42:54
|
Update of /cvsroot/xine/xine-lib/misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29224/misc Modified Files: make_release.sh Log Message: POSIX-compliant use of 'head' and 'tail'. Index: make_release.sh =================================================================== RCS file: /cvsroot/xine/xine-lib/misc/make_release.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- make_release.sh 3 Jan 2005 20:12:36 -0000 1.4 +++ make_release.sh 31 May 2005 17:42:34 -0000 1.5 @@ -168,7 +168,7 @@ lastver=`grep 'href="files/xine-lib-' download.html \ |sed -e 's|^.*href="files/xine-lib-||' -e 's|\.tar\.gz.*$||g' \ - |head -1` + |head -n 1` echo "The last release has been $lastver." old_major=`echo $lastver|awk -F. '{print $1}'` |