Skip to content

Commit

Permalink
Follow rom_dir symlink. #66
Browse files Browse the repository at this point in the history
  • Loading branch information
sselph committed Feb 10, 2016
1 parent fad868c commit 6e0e6aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,11 @@ func CrawlROMs(gl *rom.GameListXML, sources []ds.DS, xmlOpts *rom.XMLOpts, gameO

// Scrape handles scraping and wriiting the XML.
func Scrape(sources []ds.DS, xmlOpts *rom.XMLOpts, gameOpts *rom.GameOpts) error {
var err error
xmlOpts.RomDir, err = filepath.EvalSymlinks(xmlOpts.RomDir)
if err != nil {
return err
}
gl := &rom.GameListXML{}
if *appendOut || *refreshOut {
f, err := os.Open(*outputFile)
Expand Down

0 comments on commit 6e0e6aa

Please sign in to comment.