termux-packages/packages/electric-fence/ef.sh
Leonid Pliushch f12ceae1ba electric-fence: use generic shebang in scripts
Being fixed at build time.
2020-10-30 22:03:29 +02:00

10 lines
304 B
Bash
Executable File

#!/bin/sh
#edited from https://aur.archlinux.org/cgit/aur.git/tree/ef.sh?h=electricfence
if [ "$1" = '' ]; then
echo 'Usage: ef [executable] [arguments].'
echo ' Runs the executable under the Electric Fence malloc debugger.'
exit
fi
LD_PRELOAD="libefence.so.0.0${LD_PRELOAD:+:$LD_PRELOAD}" exec "$@"