Logo
Explore Help
Sign In
xZero707/yt-dlp
1
0
Fork 0
You've already forked yt-dlp
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-23 00:10:35 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
069c6ccf02b7e3f7ed7d380778ff257410f3fadf
yt-dlp/yt-dlp.sh

3 lines
79 B
Bash
Raw Normal View History

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
2021-04-17 15:51:25 +02:00
#!/bin/sh
exec python3 "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 32ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API