disabled log removal, del old build files on startup, shellcheck fixes
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#! /bin/bash
|
||||
|
||||
echo Running as user: $USER
|
||||
echo Running as user: "$USER"
|
||||
|
||||
if [[ -z ${1} ]]; then
|
||||
echo Main file not spicified
|
||||
echo Restart the container with proper arguments
|
||||
exit 1
|
||||
else
|
||||
echo Using main latex file: $1
|
||||
echo Using main latex file: "$1"
|
||||
fi
|
||||
|
||||
if test -d /app/project; then
|
||||
@@ -25,5 +25,5 @@ fi
|
||||
# start auto compile loop
|
||||
echo Starting AutoLTX...
|
||||
sleep 3
|
||||
cd /app/project
|
||||
ls $1 | entr -n sh -c ./compile.sh
|
||||
cd /app/project || exit 2
|
||||
ls "$1" | entr -n sh -c ./compile.sh
|
||||
|
||||
Reference in New Issue
Block a user