From 009162f6f7abf2d14627a523a4dfa59d6901589c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckpepper=E2=80=9D?= Date: Fri, 9 Feb 2018 14:43:14 +0000 Subject: [PATCH] Added new environment variable check for sanger --- act | 6 ++++++ art | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/act b/act index 2cb25aec2..b00892bdc 100755 --- a/act +++ b/act @@ -70,6 +70,12 @@ while [ -h "$PRG" ] ; do fi done +# Special Sanger override on chado PGUSER +if [[ "$ARTEMIS_SANGER_DBUSER" != "" ]] +then + export PGUSER=$ARTEMIS_SANGER_DBUSER +fi + # # Parse arguments. # diff --git a/art b/art index 36c80034f..2241019e6 100755 --- a/art +++ b/art @@ -76,6 +76,12 @@ while [ -h "$PRG" ] ; do fi done +# Special Sanger override on chado PGUSER +if [[ "$ARTEMIS_SANGER_DBUSER" != "" ]] +then + export PGUSER=$ARTEMIS_SANGER_DBUSER +fi + # # Parse arguments. #