@@ -64,13 +64,8 @@ $crankConfigPath = Join-Path `
64
64
65
65
$isLinuxApp = $CrankAgentVm -match ' \blinux\b'
66
66
67
- $functionAppPath = if ($isLinuxApp ) {
68
- " /home/$UserName /FunctionApps/$FunctionApp "
69
- } else {
70
- " C:\FunctionApps\$FunctionApp "
71
- }
72
-
73
- $tmpPath = if ($isLinuxApp ) { " /tmp" } else { ' C:\Temp' }
67
+ $homePath = if ($isLinuxApp ) { " /home/$UserName /FunctionApps/$FunctionApp " } else { " C:\FunctionApps\$FunctionApp " }
68
+ $functionAppPath = if ($isLinuxApp ) { " /home/$UserName /FunctionApps/$FunctionApp /site/wwwroot" } else { " C:\FunctionApps\$FunctionApp \site\wwwroot" }
74
69
$tmpLogPath = if ($isLinuxApp ) { " /tmp/functions/log" } else { ' C:\Temp\Functions\Log' }
75
70
76
71
if ($UseHttps ) {
@@ -88,7 +83,7 @@ $crankArgs =
88
83
' --profile' , $profileName ,
89
84
' --variable' , " CrankAgentVm=$CrankAgentVm " ,
90
85
' --variable' , " FunctionAppPath=`" $functionAppPath `" " ,
91
- ' --variable' , " TempPath =`" $tmpPath `" " ,
86
+ ' --variable' , " HomePath =`" $homePath `" " ,
92
87
' --variable' , " TempLogPath=`" $tmpLogPath `" " ,
93
88
' --variable' , " BranchOrCommit=$BranchOrCommit " ,
94
89
' --variable' , " AspNetUrls=$aspNetUrls "
0 commit comments