-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25 Oct 2002 15:18:24 -0400, MET wrote:
> I'm trying to start using Qt and I'm having problems setting up the > environmental variables so I guess I'm off to a pretty bad start. > Below is what I have included in my /etc/profile minus the defauls and > the export commands. My export commands are fine as the rest of my > variables work except for those going to the Qt directories. > > When I login I get an error about the first line with $MANPATH and > 'token' something. Any ideas? > > Thanks in advance > > ############ > > QTDIR=/usr/lib/qt-3.0.5 > > PATH=$QTDIR/bin:$PATH > > if[ $MANPATH ] ; then > MANPATH=$QTDIR/doc:$MANPATH > else > MANPATH=$QTDIR/doc > fi Put a space between "if" and '[' here and also everywhere that is necessary in the rest of your script. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9uZ9a0iMVcrivHFQRAvmGAJsGhrHeAPKUtHWniBclgdsnvYDfaQCfYwZu 84YvedtJ44Y3Uty1nKC2rmI= =RAgW -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list