#!/bin/bash

set -euxo pipefail

cp $1.pbtxt $2.pbtxt
cp $1_deploy.pbtxt $2_deploy.pbtxt
cp $1_solver.pbtxt $2_solver.pbtxt
cp $1.sh $2.sh

sed -i "s/$1/$2/" $2.pbtxt
sed -i "s/$1/$2/" $2_deploy.pbtxt
sed -i "s/$1/$2/" $2_solver.pbtxt
sed -i "s/$1/$2/" $2.sh
