Skip to content
Snippets Groups Projects
Commit fff82814 authored by ALEXANDER Peter's avatar ALEXANDER Peter
Browse files

Create latest link on compile

parent b770721a
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,11 @@ if [ ! -d "$builddir" ]; then ...@@ -21,6 +21,11 @@ if [ ! -d "$builddir" ]; then
echo "$buildver __$(date)" > $builddir/buildver echo "$buildver __$(date)" > $builddir/buildver
echo "javac completed" echo "javac completed"
echo "updating link for latest"
rm $buildbase/latest
cd $buildbase
ln -s $buildver latest
else else
echo "$builddir already exists." 1>&2 echo "$builddir already exists." 1>&2
echo "Delete it manually if you want to rebuild." 1>&2 echo "Delete it manually if you want to rebuild." 1>&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment