diff options
author | Mariell Hoversholm <[email protected]> | 2021-03-16 18:31:01 +0100 |
---|---|---|
committer | Mariell Hoversholm <[email protected]> | 2021-03-18 18:03:22 +0100 |
commit | 8cfc0524975205863fd5902d974c27bb11b39abf (patch) | |
tree | 4a86e201e7ba81a2a165fee71c072ca924a3e9eb /scripts | |
parent | ba1031ca7cf288e4f1fd4c45e331f861326b7623 (diff) | |
download | Paper-8cfc0524975205863fd5902d974c27bb11b39abf.tar.gz Paper-8cfc0524975205863fd5902d974c27bb11b39abf.zip |
Link correctly
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/decompile.sh | 4 |
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 ) |