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 @ 1600:ed9c467ef922
History | View | Annotate | Download (450 Bytes)
| 1 | 1588:9149f2098413 | Chris | #!/bin/bash |
|---|---|---|---|
| 2 | |||
| 3 | set -e |
||
| 4 | |||
| 5 | 1589:94669513c53c | Chris | # 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 | 1588:9149f2098413 | Chris | 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 | 1590:c18460da6620 | Chris | chown -R www-data.code vamp-plugin-sdk |
| 14 | 1588:9149f2098413 | Chris | fi |