From 2a8ea8065a4e9668c28ef7ddb1bfb58b4269501b Mon Sep 17 00:00:00 2001 From: Tobias Koch Date: Mon, 19 Nov 2018 23:04:07 +0100 Subject: [PATCH] Adding OutputDirectory command line argument to nuget commands --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b9e1252..1dbc8d5 100755 --- a/build.sh +++ b/build.sh @@ -71,7 +71,7 @@ if [ ! -f "$PACKAGES_CONFIG_MD5" ] || [ "$( cat "$PACKAGES_CONFIG_MD5" | sed 's/ find . -type d ! -name . ! -name 'Cake.Bakery' | xargs rm -rf fi -mono "$NUGET_EXE" install -ExcludeVersion +mono "$NUGET_EXE" install -ExcludeVersion -OutputDirectory "$TOOLS_DIR" if [ $? -ne 0 ]; then echo "Could not restore NuGet tools." exit 1 @@ -85,7 +85,7 @@ popd >/dev/null if [ -f "$ADDINS_PACKAGES_CONFIG" ]; then pushd "$ADDINS_DIR" >/dev/null - mono "$NUGET_EXE" install -ExcludeVersion + mono "$NUGET_EXE" install -ExcludeVersion -OutputDirectory "$ADDINS_DIR" if [ $? -ne 0 ]; then echo "Could not restore NuGet addins." exit 1 @@ -98,7 +98,7 @@ fi if [ -f "$MODULES_PACKAGES_CONFIG" ]; then pushd "$MODULES_DIR" >/dev/null - mono "$NUGET_EXE" install -ExcludeVersion + mono "$NUGET_EXE" install -ExcludeVersion -OutputDirectory "$MODULES_DIR" if [ $? -ne 0 ]; then echo "Could not restore NuGet modules." exit 1