File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ main() {
140140 sort " $connections " | uniq -c | sort -nr | awk ' {print $2}' > " $connections " .bak
141141 mv " $connections " .bak " $connections "
142142
143- echo " $(
144- bash get.sh " $BKG_INDEX_DIR " " $BKG_INDEX " " $BKG_BATCH_FIRST_STARTED " 2> /dev/null
143+ echo " $(
145144 cat " $BKG_OWNERS "
145+ find " $BKG_INDEX_DIR " -mindepth 1 -maxdepth 1 -type d -exec basename {} \; 2> /dev/null | sort -u | awk ' {print "0/"$1}'
146146 ) " > " $BKG_OWNERS "
147147
148148 : > all_owners_in_db
@@ -175,6 +175,9 @@ main() {
175175 # new connections
176176 cat " $temp_connections "
177177
178+ # owners that have to be updated
179+ bash get.sh " $BKG_INDEX_DIR " " $BKG_INDEX " " $BKG_BATCH_FIRST_STARTED " 2> /dev/null
180+
178181 # connections that have to be updated
179182 grep -Fxf all_owners_tu " $connections "
180183
You can’t perform that action at this time.
0 commit comments