From fff82814e7ea29bb17cb2fe68fc2a62267b88131 Mon Sep 17 00:00:00 2001
From: ALEXANDER Peter <palexand@login02.ecdf.ed.ac.uk>
Date: Fri, 3 Jul 2020 09:26:05 +0100
Subject: [PATCH] Create latest link on compile

---
 scripts/compilePlum.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/compilePlum.sh b/scripts/compilePlum.sh
index 8349bd5a..e1bde6ae 100755
--- a/scripts/compilePlum.sh
+++ b/scripts/compilePlum.sh
@@ -21,6 +21,11 @@ if [ ! -d "$builddir" ]; then
 
 	echo "$buildver __$(date)" > $builddir/buildver
 	echo "javac completed"
+
+	echo "updating link for latest"
+	rm $buildbase/latest
+	cd $buildbase
+	ln -s $buildver latest
 else
 	echo "$builddir already exists." 1>&2
 	echo "Delete it manually if you want to rebuild." 1>&2
-- 
GitLab