14 lines
300 B
Plaintext
Raw Normal View History

2000-10-08 18:25:01 +00:00
#!/usr/bin/perl
$PREFIX=shift;
# This small script does build a suitable shell wrapper that calls
# icont, according to env variables.
print <<"EOF";
#!/bin/sh
2000-10-09 21:32:46 +00:00
IPATH="\${IPATH-} $PREFIX/share/ipl/lib"
LPATH="\${LPATH-} $PREFIX/share/ipl/include"
2000-10-08 18:25:01 +00:00
export IPATH LPATH
exec $PREFIX/lib/icont "\$@"
EOF