You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2014/07/13 15:00:47 UTC

[2/3] couch commit: updated refs/heads/1994-merge-rcouch to 7ad4bc6

use uname p instead of the arch command

fix RCOUCH-21


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/0aa924aa
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/0aa924aa
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/0aa924aa

Branch: refs/heads/1994-merge-rcouch
Commit: 0aa924aa8fdce4ded5f0cc4cb9414e2d585861e5
Parents: 74e57b5
Author: benoitc <bc...@gmail.com>
Authored: Sun Feb 16 20:59:52 2014 +0100
Committer: benoitc <bc...@gmail.com>
Committed: Sun Jul 13 14:59:53 2014 +0200

----------------------------------------------------------------------
 build_spidermonkey.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/0aa924aa/build_spidermonkey.sh
----------------------------------------------------------------------
diff --git a/build_spidermonkey.sh b/build_spidermonkey.sh
index 68dc813..9607716 100755
--- a/build_spidermonkey.sh
+++ b/build_spidermonkey.sh
@@ -48,7 +48,7 @@ CXX=g++
 PATCH=patch
 case "$SYSTEM" in
     Linux)
-        ARCH=`arch 2>/dev/null`
+        ARCH=`(uname -p) 2>/dev/null`
         ;;
     FreeBSD|OpenBSD|NetBSD)
         ARCH=`(uname -p) 2>/dev/null`
@@ -84,7 +84,7 @@ build_nspr()
     NSPR_CONFIGURE_ENV=""
     case "$SYSTEM" in
         Linux)
-            ARCH=`arch 2>/dev/null`
+            ARCH=`(uname -p) 2>/dev/null`
             if [ "$ARCH" = "x86_64" ]; then
                 NSPR_CONFIGURE_ENV="--enable-64bit"
             fi