summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-08-10 15:08:20 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-08-10 15:08:20 +0200
commit1f90b499268686573b829e25918f54e9efc7a0a6 (patch)
treec8da7b0952567350532e266445366b1e022ee981 /server
parentb8594b8cb9118b5e95b30d4e7d87c736a0f74fbc (diff)
Make test script work with relative 'deps' source files.
Diffstat (limited to 'server')
-rwxr-xr-xserver/tools/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/test b/server/tools/test
index ec54e70..922040d 100755
--- a/server/tools/test
+++ b/server/tools/test
@@ -12,7 +12,7 @@ shift
OBJFILES=""
for f in $TEST_DEPS
do
- of=`echo -n $f | cut -d'.' -f1`.o;
+ of=`basename $f | cut -d'.' -f1`.o;
OBJFILES="$OBJFILES $of"
done