Made script mroe POSIX compliant

Remove the "here-string" (<<<) with a "here-document" (<< EOF ... EOF)
This commit is contained in:
2025-08-19 23:26:50 +01:00
parent b6664492fa
commit 9a8c971d73

View File

@@ -1,8 +1,11 @@
#!/bin/bash
#!/bin/sh
CARDS=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser $@)
SELECTION=$(rofi -dmenu <<< "$CARDS")
SELECTION=$(rofi -dmenu << EOF
"$CARDS"
EOF
)
CARD_OUTPUT=$(/home/arthurr/code/mini_projects/scryfall_deser/target/debug/scryfall_deser --exact $SELECTION)