diff --git a/scripts/compilePlum.sh b/scripts/compilePlum.sh
index 8349bd5a6ba05608912bfd8c2ad4ea520af6e307..e1bde6ae5f83702c5db13ea87a16433ef939d35f 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