Add symlink 'current' to current build dir

This commit is contained in:
maride 2018-05-04 20:05:17 +02:00
parent 451f2e84cd
commit dbd2bc6725

8
run.sh
View File

@ -31,6 +31,14 @@ if test "$(ls -A /tex)"; then
echo "$NULLPREFIX Have a look at the logs:" echo "$NULLPREFIX Have a look at the logs:"
ls ../$BUILD/*.log ls ../$BUILD/*.log
fi fi
cd ..
# Delete old symlink
rm ./current 2>/dev/null
# Set 'current' symlink
ln -sf $BUILD ./current
else else
# Directory is empty # Directory is empty
echo "$ECHOPREFIX Please mount your directory to /tex" echo "$ECHOPREFIX Please mount your directory to /tex"