]> jfr.im git - yt-dlp.git/blobdiff - yt-dlp.sh
Infer `acodec` for single-codec containers
[yt-dlp.git] / yt-dlp.sh
old mode 100644 (file)
new mode 100755 (executable)
index 97b86e0..ce74df8
--- a/yt-dlp.sh
+++ b/yt-dlp.sh
@@ -1,2 +1,2 @@
-#!/bin/bash
-python3 "$(dirname $(realpath $0))/yt_dlp/__main__.py" "$@"
+#!/usr/bin/env sh
+exec "${PYTHON:-python3}" -Werror -Xdev "$(dirname "$(realpath "$0")")/yt_dlp/__main__.py" "$@"