mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
11 lines
297 B
Bash
Executable file
11 lines
297 B
Bash
Executable file
#!/usr/bin/env bash
|
|
self="${BASH_SOURCE[0]}"
|
|
if test -L "$self"; then
|
|
prefix="$(dirname "$self")"
|
|
suffix="$(dirname $(readlink $self))"
|
|
LIBEXEC="$(cd $prefix/$suffix && pwd)"
|
|
else
|
|
LIBEXEC="$(cd "$(dirname "$self")" && pwd)"
|
|
fi
|
|
source "$LIBEXEC/activate"
|
|
exec "$LIBEXEC"/youtube-dl.py "$@"
|