make Honeynode and tox scripts BSD compatible
[transportpce.git] / tests / buildHoneynode.sh
index 11633563aa931774407275d250ed4ee7ff22bcdb..d91bd9ead2f8e294c8cf68c18c6f2687a130db16 100755 (executable)
@@ -1,9 +1,9 @@
-#!/bin/bash
+#!/bin/sh
 
 ORDMVERSION=${1:-1.2.1}
 
 set -e
-. reflectwarn.sh
+. $(dirname $0)/reflectwarn.sh
 cd honeynode/$ORDMVERSION
 mvn clean install -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip=true -s ../fd_io_honeycomb_settings.xml -q -V
 chmod +x ./honeynode-distribution/target/honeynode-distribution-1.19.04-hc/honeynode-distribution-1.19.04/honeycomb-tpce