<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=54480358" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ruzgarmax">@ruzgarmax</a> OK, I think I know what's going on. Previously Geany was launched using a bash script so it inherited all the environment variables defined in a bash config file. This isn't the case any more. Geany launches all the build commands using /bin/sh which is different than /bin/bash on macOS and it doesn't read the bash config files. Try setting the PATH to fortran inside <code>~/.profile</code> (right now it's probably set inside <code>~/.bashrc</code> or <code>~/.bash_profile</code>).</p>
<p>It's a little stupid Geany uses the hard-coded <code>/bin/sh</code> inside build.c. Any objections if I make this configurable inside the Various section and make it default to <code>/bin/bash</code> for macOS?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2344?email_source=notifications&email_token=AAIOWJ5WWXMHNT5ARAM76ADQOYP6ZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKCGJI#issuecomment-542384933">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZ3J2PFHZWCCVBY7KTQOYP6ZANCNFSM4I6OF3PA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5SV4Y52ARX5WO2IQTQOYP6ZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKCGJI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2344?email_source=notifications\u0026email_token=AAIOWJ5WWXMHNT5ARAM76ADQOYP6ZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKCGJI#issuecomment-542384933",
"url": "https://github.com/geany/geany/issues/2344?email_source=notifications\u0026email_token=AAIOWJ5WWXMHNT5ARAM76ADQOYP6ZA5CNFSM4I6OF3PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBKCGJI#issuecomment-542384933",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>