Skip to content

Commit

Permalink
external: fixed patch command for tsch_allinone
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 authored and avarga committed Oct 14, 2024
1 parent 1d5f2b7 commit 89b6afa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opp_env/database/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,8 @@ def get_project_descriptions():
r"""echo 'Hint: use the `./tsch ../simulations/wireless/waic/omnetpp.ini -n .:../rpl/src:../rpl/inet/src:../simulations` command in the src folder to run the simulations. (note: in debug mode, use the `tsch_dbg` executable).'""",
],
"patch_commands": [
r"""cd rpl && rsync -abuvP --include="*/" --include="*.cc" --include="*.h" --include="*.ned" --exclude="*" inet_replacement_files/ inet/src/inet/ \nfind inet/src/inet -name "*.*~" -delete""",
# kludge: don't use raw string because the \n didn't get evaluated as raw string
"""cd rpl && rsync -abuvP --include="*/" --include="*.cc" --include="*.h" --include="*.ned" --exclude="*" inet_replacement_files/ inet/src/inet/ \nfind inet/src/inet -name "*.*~" -delete""",
],
"build_commands": [
r"""cd rpl/inet""",
Expand Down

0 comments on commit 89b6afa

Please sign in to comment.