diff --git a/lib/self-upgrade.bash b/lib/self-upgrade.bash index a9db066..ad0bdc9 100644 --- a/lib/self-upgrade.bash +++ b/lib/self-upgrade.bash @@ -24,7 +24,7 @@ source "$MIAOU_BASH_DIR"/lib/functions.bash assert_system_mode assert_root -current=$(miaou-bash --version) +current=$("$MIAOU_BASH_DIR"/bin/miaou-bash --version) latest=$("$MIAOU_BASH_DIR/tools/wget_semver" artcode miaou/miaou-bash) if [[ "$current" == "$latest" ]]; then . "$MIAOU_BASH_DIR"/bin/miaou-bash --initiate