mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 01:40:31 +08:00
Handle module names with "-" in ref-deps.
This commit is contained in:
parent
b342163e4e
commit
27421a0c25
|
@ -6,6 +6,7 @@
|
|||
|
||||
cat ${1%.html}.md |
|
||||
awk '/^@module/{ if (NF == 3) { print $3 } else { print "pkg/mods/" $2 } }' |
|
||||
sed 's/-//g' |
|
||||
while read dir; do
|
||||
echo ../$dir ../$dir/*.go
|
||||
echo ../$dir ../$dir/*
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user