]> jfr.im git - yt-dlp.git/commit
Improve the yt-dlp.sh script (#248)
authorFelix S <redacted>
Sat, 17 Apr 2021 13:51:25 +0000 (15:51 +0200)
committerGitHub <redacted>
Sat, 17 Apr 2021 13:51:25 +0000 (19:21 +0530)
commit155510fe8191561b388c43fd5cc0ca57a68c3f99
tree4531c7ebeff49bdc71dcf9eeca6121902184ed95
parent201c1459535e25b88e76079ae3b9165c8f827a2a
Improve the yt-dlp.sh script (#248)

* Quote the `$0` variable to correctly handle spaces
* Change the shebang line to `/bin/sh` to avoid unnecessarily depending on bash
* Use the `exec` command to avoid having the shell process linger unnecessarily
* Change the mode to make the script directly executable

Authored by: fstirlitz

:ci skip all
yt-dlp.sh [changed mode: 0644->0755]