mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-09-06 16:35:05 +00:00
![Felix S](/assets/img/avatar_default.png)
* 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
3 lines
79 B
Bash
Executable file
3 lines
79 B
Bash
Executable file
#!/bin/sh
|
|
exec python3 "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"
|