From 4e6210f8ada9da3fc822b238fb8c5ed50c936512 Mon Sep 17 00:00:00 2001
From: Vitor Trovisco <vmt25@cam.ac.uk>
Date: Tue, 30 Mar 2021 14:47:33 +0000
Subject: [PATCH] Update weekly_routine.sh testing using full filepath instead
 of 'here' (.) for CURATEDPAPERLISTFILE (i.e. fbrf_input_list.tsv)

---
 weekly_routine.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/weekly_routine.sh b/weekly_routine.sh
index 0868de6..d658e39 100755
--- a/weekly_routine.sh
+++ b/weekly_routine.sh
@@ -267,7 +267,7 @@ check_if_canto_restart_required
 # fbrf_input_list.tsv, will be empty
 
 # Define refs import file
-CURATEDPAPERLISTFILE="./fbrf_input_list.tsv"
+CURATEDPAPERLISTFILE="${CANTOSPACE}/fbrf_input_list.tsv"
 
 log "Creating ${CURATEDPAPERLISTFILE}"
 /usr/bin/perl /data/export/support_scripts/get_fbrfs_to_add_to_canto.pl /data/export/support_scripts/modules_server.cfg > "${CURATEDPAPERLISTFILE}"
-- 
GitLab