Mercurial > hg > soundsoftware-site
view deploy/provision.d/110-hg-testdir.sh @ 1600:ed9c467ef922 dockerise
Add hggit extension
author | Chris Cannam |
---|---|
date | Wed, 23 Aug 2017 11:32:50 +0100 |
parents | c18460da6620 |
children |
line wrap: on
line source
#!/bin/bash set -e # In case we are running without a properly mounted /var/hg directory, # check for the existence of one repo and, if absent, attempt to clone # it so that we have something we can serve for test purposes. if [ ! -d /var/hg/vamp-plugin-sdk ]; then echo "Cloning vamp-plugin-sdk repo for testing..." cd /var/hg hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk chown -R www-data.code vamp-plugin-sdk fi