We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5f74b commit c607f63Copy full SHA for c607f63
dropit/dropit
@@ -112,7 +112,7 @@ dropIt() {
112
commitPaths+=("$pkgDir")
113
114
local -a groupsWithPkg
115
- readarray -t groupsWithPkg < <(grep -rHE "^$pkgDir$" groups/ | cut -d':' -f1)
+ readarray -t groupsWithPkg < <((grep -rHE "^$pkgDir$" groups/ || true) | cut -d':' -f1)
116
for group in "${groupsWithPkg[@]}"; do
117
log "[$pkg] Removing from $group"
118
removePackageFromGroup "$pkg" "$pkgDir" "$group"
0 commit comments