openbsd-ports/security/socks5/files/runsocks.in
form 22bb398026 YES -> Yes
Fix runsocks bug.
bin/{socks5,stopsocks} -> sbin/
2000-03-27 23:02:44 +00:00

12 lines
241 B
Bash

#!/bin/sh
# $OpenBSD: runsocks.in,v 1.1 2000/03/27 23:02:45 form Exp $
if [ -n "${LD_PRELOAD}" ]; then
LD_PRELOAD="@PREFIX@/lib/libsocks5_sh.so:${LD_PRELOAD}"
else
LD_PRELOAD="@PREFIX@/lib/libsocks5_sh.so"
fi
export LD_PRELOAD
exec "$@"