aboutsummaryrefslogtreecommitdiff
path: root/update_archive-pubmed.sh
diff options
context:
space:
mode:
authorEfraim Flashner2020-03-01 04:10:04 -0600
committerEfraim Flashner2020-03-01 04:10:04 -0600
commitf843d9c7bb5c3e3e1a6d678b67943231e97a0762 (patch)
treef487c39165d70f1139d48c0bdcbbb9424aaeb3ce /update_archive-pubmed.sh
downloadgn-shepherd-services-f843d9c7bb5c3e3e1a6d678b67943231e97a0762.tar.gz
initial commit
Diffstat (limited to 'update_archive-pubmed.sh')
-rwxr-xr-xupdate_archive-pubmed.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_archive-pubmed.sh b/update_archive-pubmed.sh
new file mode 100755
index 0000000..855ed2d
--- /dev/null
+++ b/update_archive-pubmed.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+/bin/su -l hchen -c 'export EDIRECT_PUBMED_MASTER=/export2/PubMed; export PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt; export NLTK_DATA=/export2/PubMed/nltk_data; export PATH=$(/var/guix/profiles/per-user/shepherd/current-guix/bin/guix build edirect-gn)/bin:$PATH; $(/var/guix/profiles/per-user/shepherd/current-guix/bin/guix build edirect-gn)/bin/archive-pubmed'