electron-bin: fix generated name in print-hashes script

This commit is contained in:
teutat3s 2023-04-15 13:42:17 +02:00
parent 6da5bbbe52
commit 069a804d32
No known key found for this signature in database
GPG key ID: 18DAE600A6BBE705

View file

@ -24,7 +24,7 @@ headers="$(nix-prefetch-url "https://artifacts.electronjs.org/headers/dist/v${VE
# Entry similar to the following goes in default.nix:
echo " electron_${VERSION%%.*} = mkElectron \"${VERSION}\" {"
echo " electron_${VERSION%%.*}-bin = mkElectron \"${VERSION}\" {"
for S in "${!SYSTEMS[@]}"; do
hash="$(grep " *electron-v${VERSION}-${SYSTEMS[$S]}.zip$" "$hashfile"|cut -f1 -d' ' || :)"