Changeset 60 in code for trunk


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@…>

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/listing.ml

    r53 r60  
    3737        Term.info "list" ~doc:"list texts" ~man:[ `S "DESCRIPTION";
    3838                `P "Diplays text id, date, author, title for a directory.
    39                 If directory argument is ommitted, $txtdir is used, where empty value defaults to ~/.local/share/texts.
     39                If directory argument is ommitted, TXTDIR is used, where empty value defaults to ~/.local/share/texts.
    4040                If -R is used, list header information for texts found in subdirectories too." ]
  • trunk/cli/txt.ml

    r49 r60  
    1 let version = "1.3"
     1let version = "1.3.1"
    22
    33open Cmdliner
  • trunk/dune-project

    r51 r60  
    11(lang dune 2.0)
    22(name logarion)
    3 (version 1.3)
     3(version 1.3.1)
    44(license EUPL-1.2)
    55(authors "orbifx <fox@orbitalfox.eu>")
    66(bug_reports "mailto:logarion@lists.tildeverse.org")
    7 (maintainers "Izuru Yakumo <novaburst@envs.net>")
     7(maintainers "Izuru Yakumo <yakumo.izuru@chaotic.ninja>")
    88(homepage "https://logarion.chaotic.ninja")
    9 (source (uri git+https://git.chaotic.ninja/yakumo.izuru/logarion.git))
     9(source (uri git://git.chaotic.ninja/yakumo_izuru/logarion))
    1010
    1111(generate_opam_files true)
  • 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
  • trunk/logarion.opam

    r51 r60  
    11# This file is generated by dune, edit dune-project instead
    22opam-version: "2.0"
    3 version: "1.3"
     3version: "1.3.1"
    44synopsis: "Texts archival and exchange"
    5 maintainer: ["Izuru Yakumo <novaburst@envs.net>"]
     5maintainer: ["Izuru Yakumo <yakumo.izuru@chaotic.ninja>"]
    66authors: ["orbifx <fox@orbitalfox.eu>"]
    77license: "EUPL-1.2"
     
    2828  ]
    2929]
    30 dev-repo: "git+https://git.chaotic.ninja/yakumo.izuru/logarion.git"
     30dev-repo: "git://git.chaotic.ninja/yakumo_izuru/logarion"
Note: See TracChangeset for help on using the changeset viewer.