On Thu, 14 Oct 2004 15:13:46 +0800, Rodel Miguel <[EMAIL PROTECTED]> wrote:
> Hello Pluggers,
> 
> I am trying to include functions to my main "sh" application from
> another file.  I am using busybox shell.  Here's my routine:
> 
> #!/bin/sh
> # - main.sh
> 
> . functions.sh
> 
> ...
> 
> However, the busybox shell cannot see functions.sh.  My functions.sh is
> on the same directory as my main application.  Are there other ways of
> including files in shell scripts?
> 
> Thank you very much.
> 
> Regards,
> Rodel
> 

I can't remember any other way at this time, but have you tried using
an abolute path, instead of just "functions.sh" ?

-eman

-- 
http://www.bloodpet.tk/
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to