diff options
Diffstat (limited to '')
-rw-r--r-- | lang/modula-3-socks/files/m3socks.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/modula-3-socks/files/m3socks.sh b/lang/modula-3-socks/files/m3socks.sh new file mode 100644 index 000000000000..55bb198a8ed6 --- /dev/null +++ b/lang/modula-3-socks/files/m3socks.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +if [ $# -eq 0 ]; then + echo "Usage: $0 command [arguments]" >&2 + exit 2 +fi + +export M3SOCKS=1 +export LD_PRELOAD=/usr/local/lib/m3/FreeBSD2/libm3socks.so +exec "$@" |