sproutcore / abbot

SproutCore Build Tools [deprecated]
http://www.sproutcore.com
88 stars 44 forks source link

_ gets turned into - in commandline option values #6

Closed scytacki closed 14 years ago

scytacki commented 14 years ago

For example: sc-server --logfile="pwd/log_file.log" will write out a log file in the current directory: log-file.log

The key thing is that the command should create a log file with a '' but the resulting log file has a '-' instead. This becomes a problem particularly if a directory has a '' in it. It appears all values of commanline options have their '_' turned into '-'. This problem didn't exist in older versions of abbot.

scytacki commented 14 years ago

I figured out this was an issue with thor 0.14.2, after upgrading to thor 0.14.3 the problem went away.

wagenet commented 14 years ago

Bug in thor 0.14.2 causes issues - Closed by a7b2d98a4e473142a31f077b2f323a7d0e49bfc6