Skip to content

Commit

Permalink
Corrected $HOMEPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
rneder committed Jan 19, 2025
1 parent a021542 commit 24dd476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_f90/support_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ SUBROUTINE do_chdir (dir, ld, echo)
lpara(1) = home_dir_l
elseif(dir=='$HOMEPATH') then
if(operating==OS_LINUX_WSL) then
cpara(1) = '/mnt/c/Users/' // user_name(1:LEN_TRIM(user_name))
cpara(1) = '/mnt/c/Users/' // user_profile(1:LEN_TRIM(user_profile))
lpara(1) = len_trim(cpara(1))
else
cpara(1) = home_dir
Expand Down

0 comments on commit 24dd476

Please sign in to comment.