Browse Source

Hack to fix output variable name case

David Wimsey 11 years ago
parent
commit
602c9c0a43
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Build/cmake/gen_filelists.sh

+ 3 - 3
Build/cmake/gen_filelists.sh

@@ -29,15 +29,15 @@ printfiles() {
 
 printpyfiles() {
     # Print headers
-    echo ${hdr/lib/Py${1}} >>$file
+    echo ${hdr/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
     find  $srcpath/$1/$pypath -iname "*.h" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
     echo -e ')\n' >>$file
     # Print public headers
-    echo ${pubhdr/lib/Py${1}} >>$file
+    echo ${pubhdr/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
     find  $hdrpath/$1/$pypath -iname "*.h" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file 2>/dev/null
     echo -e ')\n' >>$file
     # Print source files
-    echo ${src/lib/Py${1}} >>$file
+    echo ${src/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
     find  $srcpath/$1/$pypath -iname "*.cpp" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
     echo -e ')\n' >>$file
 }