#!/usr/bin/env bash

set -x

# create target dirs
mkdir -p var
mkdir -p toolkit

# cleanup target dirs
rm -rf toolkit/*

# fill target dirs
curl http://www.combodo.com/documentation/iTopDataModelToolkit-2.3.zip | tar xvz --directory toolkit
cp -r .jenkins/configuration/default-environment/unattended_install/* toolkit
