aboutsummaryrefslogtreecommitdiffstats
path: root/bin/docker-cobrand
blob: 05c02c1ce8f5a818ea339e11ce593426adb2e4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

set -e
shopt -s nullglob

LN_FLAGS="-s -f -v"
cobrand="/var/www/fixmystreet/cobrand"
FMS="/var/www/fixmystreet/fixmystreet"

PATHS=(perllib/FixMyStreet/Cobrand templates/web templates/email web/cobrands conf)

for path in "${PATHS[@]}"; do
    for c in $cobrand/$path/*; do
        ln $LN_FLAGS $c $FMS/$path
    done
done