You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/12/31 06:07:03 UTC

[couchdb] 01/01: Fix double "make clean"

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch fix-distclean
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 418648d6e074373031573b7c3513fa33586db06a
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Dec 31 01:04:36 2019 -0500

    Fix double "make clean"
    
    This is a recurrence of #1450 caused by ec416c3
    (SpiderMonkey 60 PR), where a case clause in
    rebar.config.script lacks a match when configure
    has not yet been run yet.
---
 src/couch/rebar.config.script | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index a07b941..2672578 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -63,7 +63,9 @@ SMVsn = case lists:keyfind(spidermonkey_version, 1, CouchConfig) of
         "1.8.5";
     {_, Unsupported} ->
         io:format(standard_error, "Unsupported SpiderMonkey version: ~s~n", [Unsupported]),
-        erlang:halt(1)
+        erlang:halt(1);
+    false ->
+        "1.8.5"
 end.
 
 ConfigH = [