remove eval - git-porno - Git Porno
HTML git clone git://bitreich.org/git-porno git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/git-porno
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit e0f00bc4118569fc4e31526b346a8dc70658c0d5
DIR parent fb8138ace9be3841035220c0a61080e3e6d4b81c
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 18 Oct 2023 20:04:52 +0200
remove eval
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M git-porno | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/git-porno b/git-porno
@@ -9,7 +9,7 @@ git_porno_cmd() {
exit 1
fi
mpv --really-quiet --force-window=no --no-video "${mediadir}/git-$1.opus" &
- eval git "$@"
+ git "$@"
}
if test $# -gt 0
@@ -18,7 +18,7 @@ then
add|checkout|cherry-pick|diff|log|pull|push|reset|shortlog)
git_porno_cmd "$@";;
*)
- eval git "$@";;
+ git "$@";;
esac
else
mpv gophers://bitreich.org/9/memecache/git-porno.mkv