Skip to content

Commit a118549

Browse files
Antiz96Foxboron
andauthored
Update package/rebuild-todo
Co-authored-by: Morten Linderud <[email protected]>
1 parent ba5c991 commit a118549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/rebuild-todo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ if ((IMPORT_KEYS)); then
229229
# Only add paths that actually have key(s) to import and ignore paths that don't, don't exit on error
230230
key_paths=($(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null || true))
231231

232-
if [[ "${#key_paths[@]}" -ne 0 ]]; then
232+
if ((${#key_paths[@]})); then
233233
if [[ -z "$OFFLOAD" ]]; then
234234
cat "${key_paths[@]}" | gpg --import
235235
else

0 commit comments

Comments
 (0)