fix
This commit is contained in:
@@ -13,9 +13,10 @@ latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash)
|
||||
|
||||
if [[ "$current" == "$latest" ]]; then
|
||||
echo "up-to-date version: $current"
|
||||
OLD_DIR="$MIAOU_BASH_DIR"
|
||||
export -n MIAOU_BASH_DIR
|
||||
unset MIAOU_BASH_DIR
|
||||
source ../install.sh
|
||||
source "$OLD_DIR/install.sh"
|
||||
else
|
||||
MIAOU_BASH_DIR='' source ../install.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user