|
From: <sv...@va...> - 2011-05-15 17:07:56
|
Author: bart
Date: 2011-05-15 18:07:47 +0100 (Sun, 15 May 2011)
New Revision: 11759
Log:
gdbserver_tests/make_local_links: made invocation of "head" POSIX-compliant since on some distros only the POSIX-compliant invocation is accepted.
Modified:
trunk/gdbserver_tests/make_local_links
Modified: trunk/gdbserver_tests/make_local_links
===================================================================
--- trunk/gdbserver_tests/make_local_links 2011-05-15 17:06:33 UTC (rev 11758)
+++ trunk/gdbserver_tests/make_local_links 2011-05-15 17:07:47 UTC (rev 11759)
@@ -14,7 +14,7 @@
then
ln -f -s "$1" gdbserver_tests/gdb
# Try to extract the gdb version.
- VERSIONLINE=`gdbserver_tests/gdb --version | head -1`
+ VERSIONLINE=`gdbserver_tests/gdb --version | head -n 1`
VERSION=`echo $VERSIONLINE |
sed -e 's/[^0-9\.]//g' -e 's/\./ /g'`
|