diff options
author | Nikolay Korotkiy | 2019-10-07 22:11:46 +0300 |
---|---|---|
committer | Nikolay Korotkiy | 2019-10-07 22:11:46 +0300 |
commit | eb0aa9ef2849e0c73d1ded868b833811fc8a0b1a (patch) | |
tree | a1051c2404eb5b1837856e950645451018cab291 /0001-Expand-tilde-in-path.patch | |
parent | 77c16f420c42c9ad05accb8bc698b9f0ed88453b (diff) | |
download | aur-eb0aa9ef2849e0c73d1ded868b833811fc8a0b1a.tar.gz |
patch: expand tilde in path
Diffstat (limited to '0001-Expand-tilde-in-path.patch')
-rw-r--r-- | 0001-Expand-tilde-in-path.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-Expand-tilde-in-path.patch b/0001-Expand-tilde-in-path.patch new file mode 100644 index 000000000000..6effcfb278a1 --- /dev/null +++ b/0001-Expand-tilde-in-path.patch @@ -0,0 +1,24 @@ +From 29c50a0c211a62ada8070cb1d031d438b4a2e02e Mon Sep 17 00:00:00 2001 +From: Nikolay Korotkiy <sikmir@gmail.com> +Date: Fri, 23 Nov 2018 22:39:29 +0300 +Subject: [PATCH 1/1] Expand tilde in path + +--- + src/conf.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/conf.py b/src/conf.py +index 63af205..24a649c 100755 +--- a/src/conf.py ++++ b/src/conf.py +@@ -104,6 +104,7 @@ def __defaultImgFont(): + + + def abspath(path, related_home): ++ path = os.path.expanduser(path) + return path if os.path.isabs(path) else os.path.join(related_home, path) + + +-- +2.23.0 + |