mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-18 19:20:43 +00:00

* 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" "$@"
|