summaryrefslogtreecommitdiff
path: root/server/tools/test
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/test')
-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