]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
added ozreplace.sh handy script
authorMoises Silva <moy@sangoma.com>
Tue, 9 Feb 2010 19:25:26 +0000 (19:25 +0000)
committerMoises Silva <moy@sangoma.com>
Tue, 9 Feb 2010 19:25:26 +0000 (19:25 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1024 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/ozreplace.sh [new file with mode: 0755]

diff --git a/libs/freetdm/ozreplace.sh b/libs/freetdm/ozreplace.sh
new file mode 100755 (executable)
index 0000000..71f4b13
--- /dev/null
@@ -0,0 +1,13 @@
+##### ozmod stuff ####
+# replace full openzap occurences first (handles openzap.h, libopenzap etc)
+sed -i 's,openzap,freetdm,g' $1
+sed -i 's,ozmod,ftmod,g' $1
+
+sed -i 's,zchan,ftdmchan,g' $1
+sed -i 's,oz,ft,g' $1
+sed -i 's,OZ,FT,g' $1
+sed -i 's,zap,ftdm,g' $1
+sed -i 's,ZAP,FTDM,g' $1
+sed -i 's,zio,fio,g' $1
+sed -i 's,ZIO,FIO,g' $1
+