diff --git a/start.sh b/start.sh index e16d89c..0710462 100755 --- a/start.sh +++ b/start.sh @@ -25,9 +25,9 @@ do OUTPUT="$(basename "$PKGLIST")" echo "version 2" > tmplist0 cat "$PKGLIST" >> tmplist0 - sig=$(./fteqw64 -privkey ./private-key.pem -pubkey ./public-key.pem -certhost $AUTH_HOST -sign2 tmplist0) + SIG=$(./fteqw64 -privkey ./private-key.pem -pubkey ./public-key.pem -certhost $AUTH_HOST -sign2 tmplist0) head -n 1 tmplist0 > "$OUTPUT" - echo "signature \"$AUTH_HOST\" \"$sig\"" >> "$OUTPUT" + echo "signature \"$AUTH_HOST\" \"$SIG\"" >> "$OUTPUT" tail -n +2 tmplist0 >> "$OUTPUT" rm tmplist0 mv "$OUTPUT" "$PKGLIST"