Skip to content

Commit

Permalink
Purge protected repos if not in the list of repos.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmateojr authored Jul 17, 2017
1 parent 3e6c5be commit 152618e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtmrepo
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ if [ "${PURGE}" == 1 ]; then
if [ "${#_REPOS[@]}" != 0 ]; then
for _REPO in ${_REPOS}; do
_FOUND=0
for _ACTIVE in ${repostore[@]} ${protectrepo//,/ }; do
for _ACTIVE in ${repostore[@]}; do
if [ "${_REPO}" == "${_ACTIVE}" ]; then
_FOUND=1
break
Expand Down

0 comments on commit 152618e

Please sign in to comment.