xenapi-os-testing/functions
2014-01-17 15:06:37 +00:00

17 lines
350 B
Bash

#!/bin/bash
function get_dependencies() {
for dep in xenapi-in-the-cloud remote-bash; do
if [ -e $dep ]; then
( cd $dep; git pull; )
else
git clone https://github.com/citrix-openstack/$dep
fi
if [ -e "$dep/bin" ]; then
export PATH=$PATH:$(pwd)/$dep/bin
fi
done
}