aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/genenetwork23
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 01026811..da35d049 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -95,7 +95,8 @@ if [ ! -e "${settings}" ]; then
exit 1
fi
-export GN2_SETTINGS=$settings # Python
+# If $GN2_SETTINGS is set, use that, otherwise use default provided at invocation
+export GN2_SETTINGS=${GN2_SETTINGS:-$settings}
echo GN2_SETTINGS="${settings}"
if [ -z "${GN2_PROFILE}" ] ; then