Skip to content

Commit ba5fa9b

Browse files
committed
Issue #46, theme install fails on msys, permissions.
1 parent 068e522 commit ba5fa9b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Rakefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,11 @@ end
273273
#
274274
# Returns theme manifest hash
275275
def verify_manifest(theme_path)
276-
manifest = File.join(theme_path, "manifest.yml")
277-
abort("rake aborted: repo must contain valid manifest.yml") unless File.exist? manifest
278-
manifest = YAML.load_file(manifest)
276+
manifest_path = File.join(theme_path, "manifest.yml")
277+
manifest_file = File.open( manifest_path )
278+
abort("rake aborted: repo must contain valid manifest.yml") unless File.exist? manifest_file
279+
manifest = YAML.load( manifest_file )
280+
manifest_file.close
279281
manifest
280282
end
281283

0 commit comments

Comments
 (0)