summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2005-05-31 17:42:33 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2005-05-31 17:42:33 +0000
commit4d52842bb679a244afe7ce9f9f9b5f32f875e792 (patch)
tree575ca49656a34be1f0b3f07f4ba755fe789b9300 /misc
parent5ad89d48171c9abed6c2f4f9a95d36051cefc340 (diff)
downloadxine-lib-4d52842bb679a244afe7ce9f9f9b5f32f875e792.tar.gz
xine-lib-4d52842bb679a244afe7ce9f9f9b5f32f875e792.tar.bz2
POSIX-compliant use of 'head' and 'tail'.
CVS patchset: 7598 CVS date: 2005/05/31 17:42:33
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/make_release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/make_release.sh b/misc/make_release.sh
index 15a0048ad..a8f24dad4 100755
--- a/misc/make_release.sh
+++ b/misc/make_release.sh
@@ -168,7 +168,7 @@ fi
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}'`