We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba5c991 commit a118549Copy full SHA for a118549
package/rebuild-todo
@@ -229,7 +229,7 @@ if ((IMPORT_KEYS)); then
229
# Only add paths that actually have key(s) to import and ignore paths that don't, don't exit on error
230
key_paths=($(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null || true))
231
232
- if [[ "${#key_paths[@]}" -ne 0 ]]; then
+ if ((${#key_paths[@]})); then
233
if [[ -z "$OFFLOAD" ]]; then
234
cat "${key_paths[@]}" | gpg --import
235
else
0 commit comments