pvincent 4 days ago
parent
commit
805bfd1a41
  1. 4
      lib/self-upgrade.bash

4
lib/self-upgrade.bash

@ -13,7 +13,9 @@ latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash)
if [[ "$current" == "$latest" ]]; then if [[ "$current" == "$latest" ]]; then
echo "up-to-date version: $current" 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 else
MIAOU_BASH_DIR='' source ../install.sh MIAOU_BASH_DIR='' source ../install.sh
fi fi
Loading…
Cancel
Save