On 8/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> append () {
> # First remove the directory
> local IFS=':'
> local NEWPATH
> for DIR in $PATH; do
> if [ "$DIR" != "$1" ]; then
> NEWPATH = ${NEWPATH:+$NEWPATH:}$DIR
You can't have spaces between the variable and the =. It thinks you're
trying to execute a command called NEWPATH.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page