Parcourir la source

fix(update): incorrect variable name (#4179)

Daniel Gibbs il y a 3 ans
Parent
commit
d28a0e74d2
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      lgsm/functions/update_factorio.sh
  2. 1 1
      lgsm/functions/update_vintagestory.sh

+ 1 - 1
lgsm/functions/update_factorio.sh

@@ -18,7 +18,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=$(${executable} --version | grep "Version:" | awk '{print $2}')
 	fi

+ 1 - 1
lgsm/functions/update_vintagestory.sh

@@ -18,7 +18,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="$(${preexecutable} ${executable} --version | sed '/^[[:space:]]*$/d')"
 	fi