This commit is contained in:
emmett1
2018-01-14 16:01:14 +08:00
parent 2593ffdb18
commit 0837ba38e8

View File

@@ -458,7 +458,8 @@ updports() {
duplicateports() {
dup=$(find ${PORT_REPO[@]} -type d | grep '/' | rev | cut -d '/' -f1 | rev | sort | uniq -d)
dup=$(find ${PORT_REPO[@]} -type d -print | egrep -xv "($(echo ${PORT_REPO[@]} | tr ' ' '|'))" | \
rev | cut -d '/' -f1 | rev | sort | uniq -d)
if [ "$dup" ]; then
for dp in $dup; do