#!/bin/sh

# remove version string for OpenBSD PLIST compat
node-waf configure build
if [ -f build/Release/daemon.node ]; then
  cp build/Release/daemon.node "lib/daemon.node"
elif [ -f build/default/daemon.node ]; then
  cp build/default/daemon.node "lib/daemon.node"
fi
