From da411e3da37710d8ff6205b5cdb959df29cdc637 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Tue, 7 May 2013 23:53:10 +0200 Subject: [PATCH] add ARM support --- installit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installit b/installit index 459a0d1..ffcac23 100755 --- a/installit +++ b/installit @@ -20,7 +20,7 @@ arch=`uname -m` if [[ "${arch}" == 'armv6l' ]]; then # ARM support: https://github.com/mongodb/js-bson/issues/37 rm -rf ./node_modules/bson/build - ${SED} -d s/#define USE_MISALIGNED_MEMORY_ACCESS 1/#define USE_MISALIGNED_MEMORY_ACCESS 0/g ./node_modules/bson/ext/bson.h + ${SED} -e s/#define USE_MISALIGNED_MEMORY_ACCESS 1/#define USE_MISALIGNED_MEMORY_ACCESS 0/g ./node_modules/bson/ext/bson.h npm install bson fi