Browse Source

Hack to fix output variable name case

David Wimsey 11 năm trước cách đây
mục cha
commit
602c9c0a43
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Build/cmake/gen_filelists.sh

+ 3 - 3
Build/cmake/gen_filelists.sh

@@ -29,15 +29,15 @@ printfiles() {
 
 
 printpyfiles() {
 printpyfiles() {
     # Print headers
     # 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
     find  $srcpath/$1/$pypath -iname "*.h" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
     echo -e ')\n' >>$file
     echo -e ')\n' >>$file
     # Print public headers
     # 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
     find  $hdrpath/$1/$pypath -iname "*.h" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file 2>/dev/null
     echo -e ')\n' >>$file
     echo -e ')\n' >>$file
     # Print source files
     # 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
     find  $srcpath/$1/$pypath -iname "*.cpp" -exec echo '    '$srcdir/{} \; 2>/dev/null | sort -f >>$file
     echo -e ')\n' >>$file
     echo -e ')\n' >>$file
 }
 }