lib/asproject_utils.rb in asproject-0.1.30 vs lib/asproject_utils.rb in asproject-0.1.31
- old
+ new
@@ -8,10 +8,10 @@
class BuildError < StandardError; end
end
RAND_CHARS = ['A','B','C','D','E','F','a','b','c','d','e','f']
-def AsProject::windowize_cygwin_path(name)
+def AsProject::windowize_cygwin_path2(name)
expr = /\/cygdrive\/([a-z]|[A-Z])/
matched = name.match(expr)
if(matched)
prefix = matched.captures[0].upcase + ':'
name.gsub!(expr, prefix)