squattingmonk/nasher

Getting redundant duplicate prompts

Closed this issue · 3 comments

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:

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

I think I see the problem now. overlapping globs?

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

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