mk_icont 300 B

1234567891011121314
  1. #!/usr/bin/perl
  2. $PREFIX=shift;
  3. # This small script does build a suitable shell wrapper that calls
  4. # icont, according to env variables.
  5. print <<"EOF";
  6. #!/bin/sh
  7. IPATH="\${IPATH-} $PREFIX/share/ipl/lib"
  8. LPATH="\${LPATH-} $PREFIX/share/ipl/include"
  9. export IPATH LPATH
  10. exec $PREFIX/lib/icont "\$@"
  11. EOF