Просмотр исходного кода

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

Daniel Gibbs 3 лет назад
Родитель
Сommit
d28a0e74d2
2 измененных файлов с 2 добавлено и 2 удалено
  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