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