Skip to content

Commit

Permalink
Fix backslash number for path delimiter on Windows (#22768)
Browse files Browse the repository at this point in the history
  • Loading branch information
musm authored and tkelman committed Jul 15, 2017
1 parent 2fd61b6 commit def79c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions base/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ endif
@echo "const VERSION_STRING = \"$(JULIA_VERSION)\"" >> $@
@echo "const TAGGED_RELEASE_BANNER = \"$(TAGGED_RELEASE_BANNER)\"" >> $@
ifeq ($(OS),WINNT)
@echo 'const SYSCONFDIR = "$(subst /,\\\\,$(sysconfdir_rel))"' >> $@
@echo 'const DATAROOTDIR = "$(subst /,\\\\,$(datarootdir_rel))"' >> $@
@echo 'const DOCDIR = "$(subst /,\\\\,$(docdir_rel))"' >> $@
@echo 'const LIBDIR = "$(subst /,\\\\,$(libdir_rel))"' >> $@
@echo 'const PRIVATE_LIBDIR = "$(subst /,\\\\,$(private_libdir_rel))"' >> $@
@echo 'const INCLUDEDIR = "$(subst /,\\\\,$(includedir_rel))"' >> $@
@echo 'const SYSCONFDIR = "$(subst /,\\,$(sysconfdir_rel))"' >> $@
@echo 'const DATAROOTDIR = "$(subst /,\\,$(datarootdir_rel))"' >> $@
@echo 'const DOCDIR = "$(subst /,\\,$(docdir_rel))"' >> $@
@echo 'const LIBDIR = "$(subst /,\\,$(libdir_rel))"' >> $@
@echo 'const PRIVATE_LIBDIR = "$(subst /,\\,$(private_libdir_rel))"' >> $@
@echo 'const INCLUDEDIR = "$(subst /,\\,$(includedir_rel))"' >> $@
else
@echo "const SYSCONFDIR = \"$(sysconfdir_rel)\"" >> $@
@echo "const DATAROOTDIR = \"$(datarootdir_rel)\"" >> $@
Expand Down

0 comments on commit def79c7

Please sign in to comment.