#!/bin/sh # This script is based on a git-svn tree. BOOST=$1 mkdir -p src/include/firebird/impl bcp --boost=$BOOST --namespace=FirebirdImpl preprocessor/seq src/include/firebird/impl find src/include/firebird/impl/boost -type f -exec sed -i 's/BOOST_/FB_BOOST_/g' {} \; find src/include/firebird/impl/boost -type f -exec sed -i 's/ gen/boost for line in `cat gen/boost`; do git add $line; done git add src/include/firebird/impl/boost/preprocessor/control git add src/include/firebird/impl/boost/preprocessor/detail git add src/include/firebird/impl/boost/preprocessor/repetition/detail rm gen/boost echo Now run this: echo git commit src/include/firebird/impl/boost echo rm -rf src/include/firebird/impl/boost echo git checkout -- src/include/firebird