]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
gdbserver_tests/make_local_links: made invocation of "head" POSIX-compliant since...
authorBart Van Assche <bvanassche@acm.org>
Sun, 15 May 2011 17:07:47 +0000 (17:07 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 15 May 2011 17:07:47 +0000 (17:07 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11759

gdbserver_tests/make_local_links

index 7ed9a73fde33f1a69cbcd9a448e603099dc7c0a0..c1355cad3d51ad38c78278ffbc365fd4e9711430 100755 (executable)
@@ -14,7 +14,7 @@ if [ -x "$1" ]
 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 -1`
    VERSION=`echo $VERSIONLINE                         |
             sed -e 's/[^0-9\.]//g' -e 's/\./ /g'`