Skip to content

Commit 22ac577

Browse files
committed
normalize paths before checking them
1 parent 953fdd0 commit 22ac577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ is_toolchain_installed <- function(app, path) {
685685
),
686686
repair_path(dirname(Sys.which(app)))
687687
)
688-
if (app_path != rtools4x_toolchain_path()) {
688+
if (normalizePath(app_path) != normalizePath(rtools4x_toolchain_path())) {
689689
return(FALSE)
690690
}
691691
return(TRUE)

0 commit comments

Comments
 (0)