#!/bin/sh -x DOMAIN="${DOMAIN:-demo.tqo.spottorg.ru}" for x in $(grep -lrw "lmstqo.spottorg.ru" .nuxt/);do echo "replace lmstqo.spottorg.ru to https://${DOMAIN} in $x" sed -i -e "s/lmstqo.spottorg.ru/${DOMAIN}/g" $x; done "$@"