Explicitely call bash instead of /bin/sh (#512)

The /bin/sh file is a link, not an actual binary, and that can point
to /bin/bash as well as other shells, like /bin/dash in recent
ubuntu versions.
To be consistent between linux distributions, and avoid issues like
missing support for bash functions (e.g. source), let's call /bin/bash
instead.
This commit is contained in:
Riccardo Pittau 2022-11-28 21:24:50 +01:00 committed by GitHub
parent 91cf28045d
commit d8cbef6843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
text="`printf " <b>Multiplayer Instructions</b>\n\n Invite your friend on the next window\n\nPress the STEAM Button and go back to Library, open <b>EmulationStation</b>, launch your game and enjoy!!\n\nAs of now only games launched using EmulationStation work on Multiplayer mode\n\n<b>RemotePlayWhatever is in early beta, so expecto some crashes here and there</b>)"`"
zenity --info \
@ -6,4 +6,5 @@
--width="450" \
--text="${text}" 2>/dev/null
~/Applications/RemotePlayWhatever.AppImage
~/Applications/RemotePlayWhatever.AppImage

View File

@ -1,2 +1,3 @@
#!/bin/sh
~/Applications/EmuDeck.AppImage --isGameMode
#!/bin/bash
~/Applications/EmuDeck.AppImage --isGameMode