#!/bin/bash SCRIPT_DIR=$(dirname $(readlink -f $0)) cd $SCRIPT_DIR/.. . contrib/inventory_options $SCRIPT_DIR/run-inventory $OPTIONS "${POOL_NOTIFY[@]}"