1
0
Files
dotfiles/.config/dotfiles/scripts/_perl-wrapper.sh
Konstantin Demin 9871b29288
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
treewide: move zsh functions to sh scripts
2025-09-09 20:53:55 +03:00

23 lines
244 B
Bash
Executable File

#!/bin/sh
set -ef
e=perl ; d=
case "${0##*/}" in
d* )
e=debugperl
check-bin-pkg "$e:perl-debug"
case "$1" in
-* )
d=$1 ; shift
;;
esac
;;
esac
export PERL_HASH_SEED=0 PERL_PERTURB_KEYS=0
$e $d -T -c "$@" || echo
exec $e $d -T "$@"