change ls to find, pass mainfile name to latex
All checks were successful
/ Build Container (push) Successful in 57m39s
All checks were successful
/ Build Container (push) Successful in 57m39s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#! /bin/bash
|
||||
|
||||
echo Running as user: "$USER"
|
||||
echo Running as user: $USER
|
||||
|
||||
if [[ -z ${1} ]]; then
|
||||
echo Main file not spicified
|
||||
@@ -26,4 +26,4 @@ fi
|
||||
echo Starting AutoLTX...
|
||||
sleep 3
|
||||
cd /app/project || exit 2
|
||||
ls "$1" | entr -n sh -c ./compile.sh
|
||||
find ./* -name "*.tex" | entr -n sh -c "./compile.sh $1"
|
||||
|
||||
Reference in New Issue
Block a user