Parcourir la source

fix(mc): correct variable name

Daniel Gibbs il y a 3 ans
Parent
commit
0720a79b47
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lgsm/functions/update_minecraft.sh

+ 1 - 1
lgsm/functions/update_minecraft.sh

@@ -16,7 +16,7 @@ fn_update_localbuild() {
 	# Gets local build info.
 	fn_print_dots "Checking local build: ${remotelocation}"
 	# Uses executable to get local build.
-	if [ -d "${exutabledir}" ]; then
+	if [ -d "${executabledir}" ]; then
 		cd "${executabledir}" || exit
 		localbuild=$(unzip -p "minecraft_server.jar" version.json | jq -r '.id')
 	fi