wrapper script
| From: | Andrey Zmievski | Date: | Mon, 19 Jul 1999 14:11:13 +0000 |
| Subject: | wrapper script | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8723@lists.php.net to get a copy of this message | ||
I'm trying to write a wrapper script for php cgi-bin that would set
LD_LIBRARY_PATH and here's what I've got so far:
#!/bin/sh
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
export LD_LIBRARY_PATH
/projects/zend-php/php4/php $*
But it's not working and $# turns out to be 0. What's the proper way of
doing it?
-Andrey
* E Pluribus UNIX. *