Add symlink 'current' to current build dir
This commit is contained in:
parent
451f2e84cd
commit
dbd2bc6725
8
run.sh
8
run.sh
@ -31,6 +31,14 @@ if test "$(ls -A /tex)"; then
|
||||
echo "$NULLPREFIX Have a look at the logs:"
|
||||
ls ../$BUILD/*.log
|
||||
fi
|
||||
|
||||
cd ..
|
||||
|
||||
# Delete old symlink
|
||||
rm ./current 2>/dev/null
|
||||
|
||||
# Set 'current' symlink
|
||||
ln -sf $BUILD ./current
|
||||
else
|
||||
# Directory is empty
|
||||
echo "$ECHOPREFIX Please mount your directory to /tex"
|
||||
|
Loading…
Reference in New Issue
Block a user