view deploy/provision.d/110-hg-testdir.sh @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +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