[Fedora-it] F11: Bug in sh-4.0 source build-in command

Guido Grazioli guido.grazioli at gmail.com
Mon Aug 3 18:53:56 UTC 2009


AFAIK, bash looks in PATH for the command 'source'

2009/8/3 Dario Lesca <d.lesca at solinos.it>

> There is a bug in sh-4.0 source command:
> Must specify directory (./file) for filename, without not work.
>
> > sh-4.0# cd /tmp
> > sh-4.0# echo aaa=ppp > sourcefile
> > sh-4.0# ls -l sourcefile
> > -rw-r--r-- 1 root root 8  3 ago 20:37 sourcefile
> > sh-4.0# cat sourcefile
> > aaa=ppp
> > sh-4.0# . sourcefile
> > sh: .: sourcefile: file not found
> > sh-4.0# source  sourcefile
> > sh: source: sourcefile: file not found
> > sh-4.0# echo $aaa
> >
> > sh-4.0# source  ./sourcefile
> > sh-4.0# echo $aaa
> > ppp
> > sh-4.0# exit
>
> hope this help.
>
> --
> Dario Lesca <d.lesca at solinos.it>
>
>
> _______________________________________________
> Fedora-it-list mailing list
> Fedora-it-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-it-list
>



-- 
Guido Grazioli <guido.grazioli at gmail.com>
Via Parri 11 48011 - Alfonsine (RA)
Mobile: +39 347 1017202 (10-18)
Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
Linked in: http://www.linkedin.com/in/guidograzioli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20090803/1104eb7c/attachment.html 


More information about the devel mailing list