diff --git a/init-tools.sh b/init-tools.sh index a3ee28b5d..3eff76814 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -37,7 +37,8 @@ if [ ! -e "$__PROJECT_JSON_FILE" ]; then echo "Restoring build tools version $__BUILD_TOOLS_PACKAGE_VERSION..." "$__DOTNET_CMD" restore "$__PROJECT_JSON_FILE" --packages "$NUGET_PACKAGES" --source "$__BUILD_TOOLS_SOURCE" - "$__BUILD_TOOLS_PATH/init-tools.sh" + if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then echo "ERROR: Could not restore build tools correctly. See '$__init_tools_log' for more details."; fi + find . fi if [ ! -d "$__BUILD_TOOLS_CLI_DIR" ]; then