summaryrefslogtreecommitdiffstats
path: root/g729a/lower.sh
blob: 3c9a7c28456022c8f114aba0ada02b4dfff3e38c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# A file with a '.C' (uppercase C) extension will be considered to be a C++ module instead of a C module
# As 'libg729a' will be linked to a 'C' library we must change the extension or use [export "C"] on all
# public function. I prefer the first solution.

for f in `ls *.C`
do
  echo "Rename file from ${f%.*}.C -to-> ${f%.*}.c"
  mv ${f%.*}.C ${f%.*}.c
done
OpenPOWER on IntegriCloud