From 805bfd1a4159e1bd8c96cdc21991e8aff65aac61 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 7 Aug 2026 00:42:17 +0400 Subject: [PATCH] fix --- lib/self-upgrade.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/self-upgrade.bash b/lib/self-upgrade.bash index 4485263..6f6f6ff 100755 --- a/lib/self-upgrade.bash +++ b/lib/self-upgrade.bash @@ -13,7 +13,9 @@ latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash) if [[ "$current" == "$latest" ]]; then echo "up-to-date version: $current" - MIAOU_BASH_DIR='' source ../install.sh + export -n MIAOU_BASH_DIR + unset MIAOU_BASH_DIR + source ../install.sh else MIAOU_BASH_DIR='' source ../install.sh fi