xenapi-os-testing/functions

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
}