bin/nephos-generator in nephos-server-0.6.1 vs bin/nephos-generator in nephos-server-0.6.2
- old
+ new
@@ -103,10 +103,10 @@
end
end
module Application
def self.create_application_dir dir
- raise BinError, "Directory #{dir} already exists" if Dir.exists? dir
+ raise BinError, "Directory #{dir} already exists" if Dir.exists? dir and dir != "."
Dir.mkdir dir
end
def self.move_to_application_dir dir
Dir.chdir dir