poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] poke.pk: add missing path separator


From: Morten Linderud
Subject: [PATCH] poke.pk: add missing path separator
Date: Sat, 27 Feb 2021 14:54:57 +0100

Signed-off-by: Morten Linderud <morten@linderud.pw>
---
 poke/poke.pk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poke/poke.pk b/poke/poke.pk
index f496d3a8..b28328c0 100644
--- a/poke/poke.pk
+++ b/poke/poke.pk
@@ -96,7 +96,7 @@ catch if E_inval { map_load_path = "%DATADIR%/maps"; }
    Specification as described in
    
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html */
 
-try map_load_path = getenv ("XDG_DATA_HOME") + map_load_path;
+try map_load_path = getenv ("XDG_DATA_HOME") + ":" + map_load_path;
 catch if E_inval {
   try map_load_path = getenv ("HOME") + "/.local/share/poke:" + map_load_path;
   catch if E_inval {}
-- 
2.30.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]