diff options
-rwxr-xr-x | sofort.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -78,6 +78,19 @@ for f in $files; do mv "$f.tmp" "$f" || exit 2 done +# and also the driver and public headers +files="$dstdir/src/driver/sfrt_driver_ctx.c" +files="$files $dstdir/src/internal/sofort_driver_impl.h" +files="$files $dstdir/include/sofort/sofort.h" +files="$files $dstdir/include/sofort/sofort_api.h" + +upperspace=`echo "$project" | tr '[:lower:]' '[:upper:]'` + +for f in $files; do + sed -e s/SOFORT/$upperspace/g "$f" > "$f.tmp" || exit 2 + mv "$f.tmp" "$f" || exit 2 +done + # and also project/tagver.mk, which has SFRT, not SFRT_ f=project/tagver.mk upperspace=`echo "$namespace" | tr '[:lower:]' '[:upper:]'` |