Skip to content

Commit

Permalink
use getenv for crexx
Browse files Browse the repository at this point in the history
  • Loading branch information
rvjansen committed Jul 19, 2023
1 parent 3656585 commit ed4ad20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/crexx.rexx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ do i=1 to fn.0
end -- do i

/* figure out the path for libraries etc */
crexxhome=.string[]
address cmd 'printenv CREXX_HOME' output crexxhome
rxpath=crexxhome[1]
rxpath=''
env_wanted='CREXX_HOME'
assembler getenv rxpath,env_wanted

if verbose then call logo
if verbose then say 'using CREXX_HOME:' rxpath
Expand Down

0 comments on commit ed4ad20

Please sign in to comment.