From 50bfc5778bbe971bf6753694e5f09380eb5f8447 Mon Sep 17 00:00:00 2001 From: walshs <walshs> Date: Wed, 29 Jul 2009 08:07:09 +0000 Subject: [PATCH] Bash scripts assume that user's CWD is ~ (uses relative path i.e. ./sprint/some-exe) Changed scripts so that they can be run from any CWD by calling with absolute path (i.e. ~/sprint/some-exe) SVN: 11921 --- openbis_all/source/bash/bis-down.sh | 2 +- openbis_all/source/bash/bis-log.sh | 2 +- openbis_all/source/bash/bis-up.sh | 2 +- openbis_all/source/bash/dss-down.sh | 2 +- openbis_all/source/bash/dss-log.sh | 2 +- openbis_all/source/bash/dss-up.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openbis_all/source/bash/bis-down.sh b/openbis_all/source/bash/bis-down.sh index d2c2dff3fd7..5b82b27e0bb 100755 --- a/openbis_all/source/bash/bis-down.sh +++ b/openbis_all/source/bash/bis-down.sh @@ -1,4 +1,4 @@ #!/bin/bash # Shuts down openBIS server -./sprint/openBIS-server/apache-tomcat/bin/shutdown.sh +~/sprint/openBIS-server/apache-tomcat/bin/shutdown.sh diff --git a/openbis_all/source/bash/bis-log.sh b/openbis_all/source/bash/bis-log.sh index abab1e69351..d62d3e067a6 100755 --- a/openbis_all/source/bash/bis-log.sh +++ b/openbis_all/source/bash/bis-log.sh @@ -1,4 +1,4 @@ #!/bin/bash # Shows openBIS server log -less ./sprint/openBIS-server/apache-tomcat/logs/openbis_log.txt +less ~/sprint/openBIS-server/apache-tomcat/logs/openbis_log.txt diff --git a/openbis_all/source/bash/bis-up.sh b/openbis_all/source/bash/bis-up.sh index c1e62d9b82e..9325c071306 100755 --- a/openbis_all/source/bash/bis-up.sh +++ b/openbis_all/source/bash/bis-up.sh @@ -1,4 +1,4 @@ #!/bin/bash # Starts up openBIS server -./sprint/openBIS-server/apache-tomcat/bin/startup.sh +~/sprint/openBIS-server/apache-tomcat/bin/startup.sh diff --git a/openbis_all/source/bash/dss-down.sh b/openbis_all/source/bash/dss-down.sh index a1ab906fc0d..7ea6930650e 100755 --- a/openbis_all/source/bash/dss-down.sh +++ b/openbis_all/source/bash/dss-down.sh @@ -1,4 +1,4 @@ #!/bin/bash # Shuts down DSS -./sprint/datastore_server/datastore_server.sh stop +~/sprint/datastore_server/datastore_server.sh stop diff --git a/openbis_all/source/bash/dss-log.sh b/openbis_all/source/bash/dss-log.sh index d3b3d05f985..d93c979612e 100755 --- a/openbis_all/source/bash/dss-log.sh +++ b/openbis_all/source/bash/dss-log.sh @@ -1,4 +1,4 @@ #!/bin/bash # Shows DSS log -less sprint/datastore_server/log/datastore_server_log.txt +less ~/sprint/datastore_server/log/datastore_server_log.txt diff --git a/openbis_all/source/bash/dss-up.sh b/openbis_all/source/bash/dss-up.sh index 0668f0e8422..c7fdf06a5a8 100755 --- a/openbis_all/source/bash/dss-up.sh +++ b/openbis_all/source/bash/dss-up.sh @@ -1,4 +1,4 @@ #!/bin/bash # Starts up DSS -./sprint/datastore_server/datastore_server.sh start +~/sprint/datastore_server/datastore_server.sh start -- GitLab