Changeset 60 in code for trunk/lib/file_store.ml


Ignore:
Timestamp:
Feb 23, 2024, 12:50:27 PM (14 months ago)
Author:
yakumo.izuru
Message:

Bug fix: another unescaped '$', also, $txtdir -> $TXTDIR

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/file_store.ml

    r42 r60  
    55let extension = ".txt"
    66
    7 let txtdir () = try Sys.getenv "txtdir" with Not_found ->
     7let txtdir () = try Sys.getenv "TXTDIR" with Not_found ->
    88        let share = Filename.concat (Sys.getenv "HOME") ".local/share/texts/" in
    99        match Sys.is_directory share with true -> share
Note: See TracChangeset for help on using the changeset viewer.