|
From: <sv...@va...> - 2011-05-15 06:18:32
|
Author: bart
Date: 2011-05-15 07:18:24 +0100 (Sun, 15 May 2011)
New Revision: 11753
Log:
gdbserver tests: only create the gdbserver_tests/gdb soft link if ./configure found gdb.
Modified:
trunk/gdbserver_tests/make_local_links
Modified: trunk/gdbserver_tests/make_local_links
===================================================================
--- trunk/gdbserver_tests/make_local_links 2011-05-15 06:07:57 UTC (rev 11752)
+++ trunk/gdbserver_tests/make_local_links 2011-05-15 06:18:24 UTC (rev 11753)
@@ -10,9 +10,9 @@
# The vgdb link is needed either for gdb tests
# or for standalone vgdb tests.
-ln -f -s $1 gdbserver_tests/gdb
-if [ -x gdbserver_tests/gdb ]
+if [ -x "$1" ]
then
+ ln -f -s "$1" gdbserver_tests/gdb
# Try to extract the gdb version.
VERSIONLINE=`gdbserver_tests/gdb --version | head -1`
VERSION=`echo $VERSIONLINE |
|