aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorMariell Hoversholm <[email protected]>2021-03-16 18:31:01 +0100
committerMariell Hoversholm <[email protected]>2021-03-18 18:03:22 +0100
commit8cfc0524975205863fd5902d974c27bb11b39abf (patch)
tree4a86e201e7ba81a2a165fee71c072ca924a3e9eb /scripts
parentba1031ca7cf288e4f1fd4c45e331f861326b7623 (diff)
downloadPaper-8cfc0524975205863fd5902d974c27bb11b39abf.tar.gz
Paper-8cfc0524975205863fd5902d974c27bb11b39abf.zip
Link correctly
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/decompile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/decompile.sh b/scripts/decompile.sh
index 21b561f3c7..d0337c3dbc 100755
--- a/scripts/decompile.sh
+++ b/scripts/decompile.sh
@@ -139,9 +139,9 @@ fi
currentlink="$workdir/Minecraft/current"
if ([ ! -e "$currentlink" ] || [ -L "$currentlink" ]) && [ "$windows" == "false" ]; then
set +e
- echo "Pointing $currentlink to $minecraftversion"
+ echo "Pointing $currentlink to $minecraftversion-$revision"
rm -rf "$currentlink" || true
- ln -sfn "$minecraftversion" "$currentlink" || echo "Failed to set current symlink"
+ ln -sfn "$minecraftversion-$revision" "$currentlink" || echo "Failed to set current symlink"
fi
)