summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--configure.ac2
-rwxr-xr-xmisc/make_release.sh2
-rw-r--r--po/POTFILES.in2
4 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 09a8bd42b..1b8a1a628 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,6 +29,7 @@ xine-lib (1.0.2)
* sputext improvements/workarounds
* add a new error message when a file we tried to play is an empty
(zero-sized) file
+ * be more POSIX-compliant (head, tail) (build fix)
xine-lib (1.0.1)
* Big XvMC quality / correctness / cpu-usage fix. [bug #1114517]
diff --git a/configure.ac b/configure.ac
index e895d292e..ef4659db4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2183,7 +2183,7 @@ dnl ---------------------------------------------
dnl Some informations about xine-lib compilation
dnl ---------------------------------------------
-XINE_BUILD_CC="`$CC -v 2>&1 | tail -1`"
+XINE_BUILD_CC="`$CC -v 2>&1 | tail -n 1`"
XINE_BUILD_OS="`uname -s -r -m`"
XINE_BUILD_DATE="`date \"+%a %d %b %Y %T\"`"
AC_SUBST(XINE_BUILD_CC)
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}'`
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e9840b436..ebc4ae2c8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,5 @@
# For updating this file, look at the result of:
-# head -3 po/POTFILES.in > /tmp/POTFILES.in && find src -name "*.[chy]" | xargs grep -l '[^A-Za-z_]_(' | grep -v src/xine-engine/xineintl.h >> /tmp/POTFILES.in && cp /tmp/POTFILES.in po/
+# head -n 3 po/POTFILES.in > /tmp/POTFILES.in && find src -name "*.[chy]" | xargs grep -l '[^A-Za-z_]_(' | grep -v src/xine-engine/xineintl.h >> /tmp/POTFILES.in && cp /tmp/POTFILES.in po/
src/libsputext/demux_sputext.c
src/libsputext/xine_decoder.c