summaryrefslogtreecommitdiff
path: root/rebrand.sh
blob: 9a43602c95fb83282dbd7dc4c9d073e8bb53224a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -ex

branding=$1
web_path=$2

function rebrand_assets {
    echo "Rebranding public assets..."

    cp -rf "shared/public" "${web_path}"
    cp -rf "${branding}/public" "${web_path}"
}

function main {
    rebrand_assets
}

main