squattingmonk / nasher

A build tool for Neverwinter Nights projects
MIT License
43 stars 17 forks source link

Getting redundant duplicate prompts #74

Closed radiantone closed 3 years ago

radiantone commented 3 years ago

When I unpack an erf into my src folder (src/schedules) and then try to pack my mod which includes that directory, it gives me redundant prompt for duplicates

xxx@phoenix:~/NWN/wotr/mod/xxx$ nasher pack yyy Packing target xxx Updating cache for target xxx Prompt: Multiple sources found for .nasher/cache/xxx/_schedule.nss. Which one do you wish to use? (default: 1) 1 src/schedules/_schedule.nss 2 src/schedules/_schedule.nss Answer:

squattingmonk commented 3 years ago

Can you post the target info from your nasher.cfg?

radiantone commented 3 years ago

I think I see the problem now. overlapping globs?

[Target] name = "mymod" file = "mod/mymod.mod" description = "" include = "src/*/" include = "src/schedules/*"

squattingmonk commented 3 years ago

Looks like it. But this is still a bug. Thanks for the report.