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. #