Skip to content

Commit 85c8aa0

Browse files
Antiz96Foxboron
andauthored
Update package/rebuild-todo
Co-authored-by: Morten Linderud <morten@linderud.pw>
1 parent a118549 commit 85c8aa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package/rebuild-todo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ if ((IMPORT_KEYS)); then
230230
key_paths=($(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null || true))
231231

232232
if ((${#key_paths[@]})); then
233-
if [[ -z "$OFFLOAD" ]]; then
234-
cat "${key_paths[@]}" | gpg --import
233+
cat "${key_path[@]}" | if [[ -z "$OFFLOAD" ]]; then
234+
gpg --import
235235
else
236-
cat "${key_paths[@]}" | ssh build.archlinux.org gpg --import
236+
ssh build.archlinux.org gpg --import
237237
fi
238238
else
239239
echo "No PGP key to import"

0 commit comments

Comments
 (0)