Skip to content

Commit 54b1fc8

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

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
@@ -227,7 +227,7 @@ pkgctl repo clone "${packages[@]}"
227227
if ((IMPORT_KEYS)); then
228228
echo "Importing PGP keys..."
229229
# 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))
230+
mapfile -td ' ' key_paths < <(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null) || true
231231

232232
if ((${#key_paths[@]})); then
233233
cat "${key_paths[@]}" | if [[ -z "$OFFLOAD" ]]; then

0 commit comments

Comments
 (0)