From: Wonyoung Choi Date: Fri, 22 Apr 2022 00:29:41 +0000 (+0900) Subject: Make nuget source handling pass always X-Git-Tag: submit/tizen/20220608.091735~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89bc98622464dce4cfc186f7c0559fce1071f9fd;p=platform%2Fcore%2Fdotnet%2Fbuild-tools.git Make nuget source handling pass always Change-Id: I6afad8c8a7b3b0e95c05298a0c2eded5ebf6b49a --- diff --git a/tools/dotnet-wrapper.sh b/tools/dotnet-wrapper.sh index 1e19ec0d..34aeab64 100755 --- a/tools/dotnet-wrapper.sh +++ b/tools/dotnet-wrapper.sh @@ -14,8 +14,8 @@ if [ ! -f "$HOME/.nuget_config_fixed" ]; then # Ensure that the nuget config file is created. $DOTNET_CLI_PATH nuget locals -l all if [ -f $NUGET_CONFIG_FILE ]; then - $DOTNET_CLI_PATH nuget disable source nuget.org --configfile $NUGET_CONFIG_FILE - $DOTNET_CLI_PATH nuget add source -n local /nuget --configfile $NUGET_CONFIG_FILE + $DOTNET_CLI_PATH nuget disable source nuget.org --configfile $NUGET_CONFIG_FILE || true + $DOTNET_CLI_PATH nuget add source -n local /nuget --configfile $NUGET_CONFIG_FILE || true touch $HOME/.nuget_config_fixed 2>/dev/null || true fi fi