Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Not able to set environment variables using .profile file.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 201415" data-attributes="member: 11647"><p>I cut & pasted that content to a virgin .profile file and it worked properly.</p><p></p><p>Open a Terminal window and type "echo $SHELL" without the quotes. If your really in the bash shell you'll see /bin/bash displayed.</p><p></p><p>If not, I can tell you how to fix it.</p><p></p><p>If your in the bash shell then type "cat .profile" to recheck the file.</p><p></p><p>By the way, unless the qt development path has substitutions for commands in the regular path, I'd set the path as PATH=$PATH<img src="/mac_images/images/smilies/Money-Mouth.png" class="smilie" loading="lazy" alt=":$" title="Money Mouth :$" data-shortname=":$" />QTDIR/bin</p></blockquote><p></p>
[QUOTE="xstep, post: 201415, member: 11647"] I cut & pasted that content to a virgin .profile file and it worked properly. Open a Terminal window and type "echo $SHELL" without the quotes. If your really in the bash shell you'll see /bin/bash displayed. If not, I can tell you how to fix it. If your in the bash shell then type "cat .profile" to recheck the file. By the way, unless the qt development path has substitutions for commands in the regular path, I'd set the path as PATH=$PATH:$QTDIR/bin [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Not able to set environment variables using .profile file.
Top