Skip to content

Commit

Permalink
external: fixed patch command in rpl_allinone
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Oct 14, 2024
1 parent f500984 commit 497ba9e
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 @@ -1746,7 +1746,8 @@ def get_project_descriptions():
r"""rm inet-4.2.5-src.tgz""",
],
"patch_commands": [
r"""echo 'rsync -abuvP --include="*/" --include="*.cc" --include="*.h" --include="*.ned" --exclude="*" inet_replacement_files/ $1/src/inet/ \nfind $1/src/inet -name "*.*~" -delete' > replace_inet_files.sh""",
# kludge: don't use raw string; the \n didn't get evaluated as raw string
"""echo 'rsync -abuvP --include="*/" --include="*.cc" --include="*.h" --include="*.ned" --exclude="*" inet_replacement_files/ $1/src/inet/ \nfind $1/src/inet -name "*.*~" -delete' > replace_inet_files.sh""",
r"""chmod +x replace_inet_files.sh""",
r"""./replace_inet_files.sh inet""",
],
Expand Down

0 comments on commit 497ba9e

Please sign in to comment.