I was lurking on the list, and read these mails:
Robert T Wyatt wondered why the terminal login produced this line:
-bash: alias: aqua: not found
Benjamin Reed observed:
It looks like you've got something setting a bad alias in ~/.profile
or ~/.bashrc (or there's a fink package doing so, in /sw/etc/profile.d)
I concur. It seems like a bad alias. The alternative that the "alias"
command is not available seems less likely, since the error would
probably have been "bash: alias: command not found: in that case.
So, it is probably a bad alias line, like this:
> alias test= aqua
This is bad, because unlike the tcsh shell, the bash shell does not
allow a space before or behind the "=". Indeed, the above line produces
this error in my bash shell:
"bash: alias: aqua: not found"
Now, the .profile Robert quoted does not contain such a line, so it must
be included in an other file.
The default files bash parses are:
/etc/profile
~/.bash_profile
or ~/.bash_login
or ~/.profile (This is where environment variables are defined)
~/.bashrc (This is where aliases and options are defined)
$BASH_ENV (This file is run if $BASH_ENV is set)
we can exclude .profile and .bashrc, so the other options are
/etc/profile and the files fink includes.
Robert, can you run this command and see what comes back?
$ grep "aqua" /etc/profile /sw/bin/init.sh /sw/etc/profile.d/*
If one of these files contains a line like
alias test= aqua
Then change it to
alias test=aqua
If the file is somewhere in the /sw directory, please report back to the
list, so that it can be fixed in fink.
Regards,
Freek
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel