2000-10-08 14:25:01 -04: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 17:32:46 -04:00
|
|
|
IPATH="\${IPATH-} $PREFIX/share/ipl/lib"
|
|
|
|
LPATH="\${LPATH-} $PREFIX/share/ipl/include"
|
2000-10-08 14:25:01 -04:00
|
|
|
export IPATH LPATH
|
|
|
|
exec $PREFIX/lib/icont "\$@"
|
|
|
|
EOF
|