Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jun 27, 2016
1 parent a59f04f commit 4ebab01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/package.sh
Expand Up @@ -89,6 +89,7 @@ if [ -d node_modules/uws ] && [[ ! -d $NODE_DEPS/uws ]]; then
echo "Adding native uws"
mv -f node_modules/uws $NODE_DEPS/
echo $( ls $NODE_DEPS )
echo $( ls $NODE_DEPS/uws )
sed -i "s/const uws/var uws/" $NODE_DEPS/uws/nodejs/dist/uws.js
sed -i "s/})();/}); uws = process.binding('uws')/" $NODE_DEPS/uws/nodejs/dist/uws.js
sed -i "s/NODE_MODULE(uws, Main)/NODE_MODULE(node_uws, Main)/" $NODE_DEPS/uws/nodejs/addon.cpp
Expand Down

0 comments on commit 4ebab01

Please sign in to comment.