fix(ci): fix sign script - avoid interpreting {*}$argv

Signed-off-by: Vicente J. Jiménez Miras <vjjmiras@gmail.com>
This commit is contained in:
Vicente J. Jiménez Miras 2022-06-20 11:48:03 +02:00 committed by poiana
parent 5f17b7bd41
commit 5d10e54ad4

View File

@ -223,7 +223,7 @@ jobs:
echo "%__gpg_sign_cmd %{__gpg} --force-v3-sigs --batch --no-armor --passphrase-fd 3 --no-secmem-warning -u \"%{_gpg_name}\" -sb --digest-algo sha256 %{__plaintext_filename}'" >> ~/.rpmmacros
cat > ~/sign \<<EOF
#!/usr/bin/expect -f
spawn rpmsign --addsign {*}$argv
spawn rpmsign --addsign {*}\$argv
expect -exact "Enter pass phrase: "
send -- "\n"
expect eof