Skip to content

Commit

Permalink
fix: support custom thesis workspace name
Browse files Browse the repository at this point in the history
  • Loading branch information
MoyusiteruIori authored and skyleaworlder committed Jul 5, 2024
1 parent 0756c8d commit 73122b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ function compile() {
cid=$(get-cid)
echo $cid
sudo docker cp $(pwd) "${cid}:${BASE}"
wd=$(basename $(pwd))
sudo docker exec -i ${cid} bash -c "mv ${BASE}/${wd}/* ${BASE}/${wd}/.* ${WRITE_ENV}"
sudo docker exec -i ${cid} bash -c "cd ${WRITE_ENV} && ${COMPILE_CMD}"
sudo docker cp "${cid}:${WRITE_ENV}/main.pdf" $(pwd)
}
Expand Down

0 comments on commit 73122b7

Please sign in to comment.