From e59966a7d086b2bce012760512e979aece130f5d Mon Sep 17 00:00:00 2001 From: Peter Teuben Date: Thu, 9 Jan 2025 15:26:21 -0500 Subject: [PATCH] simplify making the links, also create sbatch and tmp --- bin/lmtoy_run | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/bin/lmtoy_run b/bin/lmtoy_run index 640f095..c39abef 100755 --- a/bin/lmtoy_run +++ b/bin/lmtoy_run @@ -26,6 +26,9 @@ fi cd $WORK_LMT +mkdir -p sbatch +mkdir -p tmp + if [ ! -d lmtoy_run ]; then git clone https://github.com/lmtoy/lmtoy_run else @@ -48,15 +51,7 @@ fi cd lmtoy_$PID git pull -# convenience link -ln -sf $WORK_LMT/$PID -ls - -# ensure symlinks to script generator and helper files -cd $WORK_LMT/$PID -ln -sf $WORK_LMT/lmtoy_run/lmtoy_$PID -ln -s lmtoy_$PID/comments.txt -ln -s README.html index.html +make links # report the two directories the user may want to cd to: echo ""