aboutsummaryrefslogtreecommitdiff
path: root/platform.F90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-08-10 17:06:05 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-08-10 17:06:05 -0400
commit48fad229ae1f033e694a7eb663945a6a3f1f4cb2 (patch)
tree7747d9c8a76659b55b1cdb9ba58d6d01944e39b6 /platform.F90
parente965762450457f8033397289c5f120475da3a039 (diff)
downloadLR-87-48fad229ae1f033e694a7eb663945a6a3f1f4cb2.zip
LR-87-48fad229ae1f033e694a7eb663945a6a3f1f4cb2.tar.gz
Dumb renderer now can mark favorites correctly. Placeholder for handling internal links.
Diffstat (limited to 'platform.F90')
-rw-r--r--platform.F907
1 files changed, 5 insertions, 2 deletions
diff --git a/platform.F90 b/platform.F90
index f71abdd..7fbe389 100644
--- a/platform.F90
+++ b/platform.F90
@@ -15,9 +15,12 @@ contains
implicit none
character(*), intent(in)::dir
-
- call execute_command_line('mkdir "'//trim(dir)//'"')
+#ifdef WINDOWS
+ call execute_command_line('mkdir "'//trim(dir)//'"')
+#else
+ call execute_command_line('mkdir -p "'//trim(dir)//'"')
+#endif
end subroutine make_directory
subroutine get_settings_directory(dir)