Skip to content

Commit

Permalink
simplify making the links, also create sbatch and tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jan 9, 2025
1 parent a0e9fab commit e59966a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions bin/lmtoy_run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ""
Expand Down

0 comments on commit e59966a

Please sign in to comment.