lower.sh 372 B

1234567891011
  1. #!/bin/sh
  2. # A file with a '.C' (uppercase C) extension will be considered to be a C++ module instead of a C module
  3. # As 'libg729a' will be linked to a 'C' library we must change the extension or use [export "C"] on all
  4. # public function. I prefer the first solution.
  5. for f in `ls *.C`
  6. do
  7. echo "Rename file from ${f%.*}.C -to-> ${f%.*}.c"
  8. mv ${f%.*}.C ${f%.*}.c
  9. done