From 9744b520f5675f2ae87ed650f7cdd3d8c6beb49c Mon Sep 17 00:00:00 2001 From: martijn Date: Mon, 22 Mar 2010 13:53:05 +0000 Subject: [PATCH] Fix batchmapper and server startup scripts git-svn-id: http://svn.bigcat.unimaas.nl/bridgedb/trunk@334 e3f1d335-44b1-4163-9530-9b341189ae98 --- batchmapper.sh | 6 +++++- org.bridgedb.tools.batchmapper/build.xml | 4 ++-- start-server.sh | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/batchmapper.sh b/batchmapper.sh index ad177fdf7..e4fab9d7e 100755 --- a/batchmapper.sh +++ b/batchmapper.sh @@ -1,2 +1,6 @@ #!/bin/sh -java -jar dist/bridgedb-batchmapper.jar "$@" + +# change to directory of this script +cd $(dirname $0) + +java -jar dist/org.bridgedb.tools.batchmapper.jar "$@" diff --git a/org.bridgedb.tools.batchmapper/build.xml b/org.bridgedb.tools.batchmapper/build.xml index 0fb0c411d..d7ba2a44d 100644 --- a/org.bridgedb.tools.batchmapper/build.xml +++ b/org.bridgedb.tools.batchmapper/build.xml @@ -34,8 +34,8 @@ - - + + diff --git a/start-server.sh b/start-server.sh index 8df1f86db..8a65b25b8 100755 --- a/start-server.sh +++ b/start-server.sh @@ -1,3 +1,6 @@ #!/bin/sh +# change to directory of this script +cd $(dirname $0) + java -jar dist/org.bridgedb.server.jar "$@"