X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=testkit%2Fdoc%2Frebrand.sh;fp=testkit%2Fdoc%2Frebrand.sh;h=093a1f1f9b3c3bfb3d5503834e0d44635bda8e60;hb=fbf892b7e12ee1facf444fff211d3606aadf9cbd;hp=0000000000000000000000000000000000000000;hpb=0de1caf60da973466329eb1cf094aa4bc4acc663;p=feisty_meow.git diff --git a/testkit/doc/rebrand.sh b/testkit/doc/rebrand.sh new file mode 100644 index 00000000..093a1f1f --- /dev/null +++ b/testkit/doc/rebrand.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# makes a new copy of the testkit reference with branding info installed. + +echo "Rebranding the TestKit reference for: $TESTKIT_BRANDING" + +# pull in our testkit config. +source ../prepare_tools.sh ../prepare_tools.sh +source $TESTKIT_ROOT/library/process_configuration.sh +define_and_export_variables + +# just a search and replace. the source doc had better still have "$BRANDING" tags in it. +sed -e "s/\$BRANDING/$TESTKIT_BRANDING/g" \ + < testkit_reference-source.html \ + > testkit_reference.html + +