Skip to content

Commit

Permalink
port: fix creation of user dir
Browse files Browse the repository at this point in the history
Closes: https://trac.macports.org/ticket/71143
(cherry picked from commit e788103)
  • Loading branch information
jmroot committed Oct 23, 2024
1 parent edb3de2 commit 9fd2acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port/port.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -4689,7 +4689,7 @@ proc get_next_cmdline { in out use_readline prompt linename history_file } {
if { $use_readline && $line ne "" } {
# Create macports user directory if it does not exist yet
if {![file isdirectory $macports_user_dir]} {
file mkdir macports_user_dir
file mkdir $macports_user_dir

# Also write the history file if this is the case (this sets
# the cookie at the top of the file and perhaps other things)
Expand Down

0 comments on commit 9fd2acc

Please sign in to comment.