Changeset 173 in OpenModelicaExternal


Ignore:
Timestamp:
2016-04-06T05:38:39+02:00 (8 years ago)
Author:
adrpo
Message:
  • add a section to clean up all pyo and pyc files if py exists
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/windows/OMDev/util/msys2-clean.sh

    r165 r173  
    2424sed -i.bak s/'_populate_Core_target_properties(DEBUG "Qt5Cored.dll"'/'# _populate_Core_target_properties(DEBUG "Qt5Cored.dll"'/g /mingw64/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
    2525
     26# remove all .pyc and .pyo files if the .py exists
     27for fpy in `find ${OMDEV} -name "*.py" -exec echo {} ";"` ; do
     28  fc=`echo $fpy | sed s/[.]py/.pyc/`
     29  fo=`echo $fpy | sed s/[.]py/.pyo/`
     30  test -f $fc && rm -vf $fc
     31  test -f $fo && rm -vf $fo
     32done
Note: See TracChangeset for help on using the changeset viewer.