Dash doesn't understand "source"
Bug #65046 reported by
Norm Walsh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dash (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Dash claims to be /bin/bash. It isn't. That's evil. But nevermind...
My .profile includes the following lines:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
To which dash (which is running because Xsession uses /bin/sh and ...) responds:
"source" not found.
The rest of my session naturally goes pear shaped.
Grrrr....
To post a comment you must log in.
Replace source with a simple '.' without the '
G.
On 10/10/06, Norm Walsh <email address hidden> wrote: /launchpad. net/bugs/ 65046 /lists. ubuntu. com/mailman/ listinfo/ ubuntu- bugs
>
> Public bug reported:
>
> Dash claims to be /bin/bash. It isn't. That's evil. But nevermind...
>
> My .profile includes the following lines:
>
> if [ -f ~/.bashrc ]; then
> source ~/.bashrc
> fi
>
> To which dash (which is running because Xsession uses /bin/sh and ...)
> responds:
>
> "source" not found.
>
> The rest of my session naturally goes pear shaped.
>
> Grrrr....
>
> ** Affects: dash (Ubuntu)
> Importance: Undecided
> Status: Unconfirmed
>
> --
> Dash doesn't understand "source"
> https:/
>
> --
> ubuntu-bugs mailing list
> <email address hidden>
> https:/
>