To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / deploy / provision.d / 110-hg-testdir.sh @ 1595:98384d0defa0
History | View | Annotate | Download (450 Bytes)
| 1 |
#!/bin/bash |
|---|---|
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
# In case we are running without a properly mounted /var/hg directory, |
| 6 |
# check for the existence of one repo and, if absent, attempt to clone |
| 7 |
# it so that we have something we can serve for test purposes. |
| 8 |
|
| 9 |
if [ ! -d /var/hg/vamp-plugin-sdk ]; then |
| 10 |
echo "Cloning vamp-plugin-sdk repo for testing..." |
| 11 |
cd /var/hg |
| 12 |
hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk |
| 13 |
chown -R www-data.code vamp-plugin-sdk |
| 14 |
fi |