Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

"copy file-name from archive" doesn't work because of the '-'. #150

Closed weissel closed 10 years ago

weissel commented 10 years ago

Apparently a minus-character in the filename (which works fine with 'run') doesn't work with copy.

xZise commented 10 years ago

run actually uses the old “validity” check which allows dashes in file names. In the new validity check system, variable names and file names needed to be the same (beginning with a letter and containing only letters, numbers and underscores). For example edit shouldn't work too.

My pull request does distinct between file names (like variable names but also allowing dashes) and variable names.