Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # packages/service_broker/packaging
- set -e # exit immediately if a simple command exits with a non-zero status
- set -u # report the usage of uninitialized variables
- # Available variables
- # $BOSH_COMPILE_TARGET - where this package & spec'd source files are available
- # $BOSH_INSTALL_TARGET - where you copy/install files to be included in package
- export HOME=/var/vcap
- # Add all packages' /bin & /sbin into $PATH
- for package_bin_dir in $(ls -d /var/vcap/packages/*/*bin)
- do
- export PATH=${package_bin_dir}:$PATH
- done
- cd service_broker
- rebar get-deps compile generate
- cp -pR rel/service_broker/* $BOSH_INSTALL_TARGET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement