moved srcipts to include/ and changed function include()

This commit is contained in:
2025-11-09 22:20:58 +05:00
parent 05f3b9a0a0
commit 579dd5916e
9 changed files with 54 additions and 48 deletions

View File

@@ -66,9 +66,12 @@ if [ -f "$bootstrap_install_path" ]; then
local_bootstrap_version_int=$(echo $local_bootstrap_version | sed 's/\.//g')
if [[ $local_bootstrap_version_int > $installed_bootstrap_version_int ]]; then
echo "Found outdated bootstrap.sh in '$CBUILD_INSTALL_DIR', updating"
ln -sf "$(realpath $CBUILD_INSTALL_DIR/bootstrap.sh)" -T "$bootstrap_install_path"
fi
else
echo "Not found bootstrap.sh in '$CBUILD_INSTALL_DIR', installing"
ln -sf "$(realpath $CBUILD_INSTALL_DIR/bootstrap.sh)" -T "$bootstrap_install_path"
fi
echo "Link bootstrap.sh to $CBUILD_BIN_DIR"
ln -sf "$(realpath $bootstrap_install_path)" -T "$CBUILD_BIN_DIR/cbuild"