updated ozrename

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@964 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva 2010-01-15 17:08:24 +00:00
parent 9f15582108
commit f5804eae8e
1 changed files with 2 additions and 3 deletions

View File

@ -1,17 +1,16 @@
# renaming main header and build file
move="cp -r"
move="mv"
$move src/include/openzap.h src/include/freetdm.h
$move openzap.pc.in freetdm.pc.in
$move mod_openzap/mod_openzap.c mod_openzap/mod_freetdm.c
$move mod_openzap mod_freetdm
# rename anything ozmod to ftmod, including directories first
mkdir -p src/ftmod
$move ozmod ftmod
for file in `find ./ -name *ozmod_* -type d`
do
$move $file ${file//ozmod/ftmod}
done
$move ozmod ftmod
# move ozmod c files
for file in `find ./ -name *ozmod_*.c`