Skip to content

Commit

Permalink
bin/inet: partial revert of 9fc7ff6. Path lists must be separated by :
Browse files Browse the repository at this point in the history
Separating path lists with ; disables msys path translation so folders like
/c/omnetpp/nedfolder will not be translated to c:/omnetpp/nedfolder preventing
omnet to access those folders. Arguments containing ; are assumed to be in windows
format and will not be translated.
  • Loading branch information
rhornig committed Aug 26, 2022
1 parent 3333d25 commit 1427d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/inet
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OPP_RUN_RELEASE=$(which opp_run_release 2> /dev/null || echo opp_run_release)
OPP_RUN_DBG=$(which opp_run_dbg 2> /dev/null || echo opp_run_dbg)
OPP_RUN_SANITIZE=$(which opp_run_sanitize 2> /dev/null || echo opp_run_sanitize)

INET_NEDFOLDERS=$(cat $INET_ROOT/.nedfolders | sed "s|^|$INET_ROOT/|" | tr '\n' ';')
INET_NEDFOLDERS=$(cat $INET_ROOT/.nedfolders | sed "s|^|$INET_ROOT/|" | tr '\n' ':')
if [ ! "$INET_NEDFOLDERS" = "" ]; then
INET_OMNETPP_OPTIONS="-n $INET_NEDFOLDERS $INET_OMNETPP_OPTIONS"
fi
Expand Down

0 comments on commit 1427d0e

Please sign in to comment.