aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2023-01-22 10:10:58 +0200
committerEfraim Flashner2023-01-22 10:10:58 +0200
commitea8341ec32a09f9dd6ff62c4f916c119921acefb (patch)
tree7c0ddb0fb3d640511332590f5d4d7b9d6d20e461
parentda02d64280a03fbba4b2f93923e2479728ba2033 (diff)
downloadgn-shepherd-services-ea8341ec32a09f9dd6ff62c4f916c119921acefb.tar.gz
update pubmed update script
-rwxr-xr-xupdate_archive-pubmed.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/update_archive-pubmed.sh b/update_archive-pubmed.sh
index b8bc87d..c242953 100755
--- a/update_archive-pubmed.sh
+++ b/update_archive-pubmed.sh
@@ -1,2 +1,6 @@
#!/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; unset PATH; $(/home/shepherd/guix-profiles/genecup/bin/guix build edirect)/bin/archive-pubmed'
+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
+unset PATH
+$(/home/shepherd/guix-profiles/genecup/bin/guix build edirect)/bin/archive-pubmed