Skip to content

Commit

Permalink
Added new environment variable check for sanger
Browse files Browse the repository at this point in the history
  • Loading branch information
kpepper committed Feb 9, 2018
1 parent 97bb871 commit 009162f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions act
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down
6 changes: 6 additions & 0 deletions art
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 009162f

Please sign in to comment.