OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000944OMNeT++command line toolspublic2016-02-04 12:002016-02-04 12:53
Reporterjulius.f 
Assigned Torhornig 
PrioritynormalSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86OSGNU/LinuxOS Version?
Product Version 
Target VersionFixed in Version5.0 
Summary0000944: setenv script of 5.0b3 not posix compliant
DescriptionLine 17 of setenv checks it the current platform is OSX:

if [ `uname` == "Darwin" ]; then

The problem here is that the "==" operator is not posix compliant and does not work on all Linux machines. Replacing it with the simple "=" operator solves this issue:

if [ `uname` = "Darwin" ]; then

see: http://stackoverflow.com/questions/25846454/bin-sh-odd-string-comparison-error-unexpected-operator [^]
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001161)
rhornig (administrator)
2016-02-04 12:53

right. thanks for reporting. Fixed in the main repo.

- Issue History
Date Modified Username Field Change
2016-02-04 12:00 julius.f New Issue
2016-02-04 12:53 rhornig Note Added: 0001161
2016-02-04 12:53 rhornig Status new => resolved
2016-02-04 12:53 rhornig Fixed in Version => 5.0
2016-02-04 12:53 rhornig Resolution open => fixed
2016-02-04 12:53 rhornig Assigned To => rhornig


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker