File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -157,8 +157,20 @@ if ($JSEngine -eq "quickjs") {
157
157
158
158
# If spidermonkey was disabled but JS_ENGINE set to "spidermonkey", reset it to "quickjs"
159
159
if ( ($WithSpiderMonkey -eq " false" ) -and ($JsEngine -eq " spidermonkey" ) ) {
160
- Write-Verbose " NOTICE: Spidermonkey was disabled, but JsEngine=spidermonkey. Setting JsEngine=quickjs"
161
- $JsEngine = " quickjs"
160
+ Write-Verbose " NOTICE: Spidermonkey was disabled, but JsEngine=spidermonkey. Setting JsEngine=quickjs"
161
+ $JsEngine = " quickjs"
162
+ }
163
+
164
+ # If we're in a release tarball and we don't have proper, then mark it as skipped
165
+ if ( (-Not (Test-Path " .git" )) -and ($WithProper -eq " true" ) -and (-Not (Test-Path " src\proper" )) ) {
166
+ $WithProper = " false"
167
+ }
168
+
169
+ # If we're in a release tarball and we don't have spidermonkey, then mark it as skipped and enable quickjs
170
+ if ( (-Not (Test-Path " .git" )) -and ($WithSpiderMonkey -eq " true" ) -and (-Not (Test-Path " src\couch\priv\couch_js" )) ) {
171
+ Write-Verbose " NOTICE: Spidermonkey was disabled in release tarball. Setting JsEngine=quickjs"
172
+ $WithSpiderMonkey = " false"
173
+ $JsEngine = " quickjs"
162
174
}
163
175
164
176
Write-Verbose " ==> configuring couchdb in rel\couchdb.config"
You can’t perform that action at this time.
0 commit comments