Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asdf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asdf
asdf
Commits
14a14cff
Commit
14a14cff
authored
Apr 14, 2015
by
Robert Goldman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new pathnames.
Add /opt/local and /usr/local pathnames to search lists, defying the XDG standard.
parent
2f2aa07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
uiop/configuration.lisp
uiop/configuration.lisp
+5
-2
No files found.
uiop/configuration.lisp
View file @
14a14cff
...
...
@@ -300,7 +300,7 @@ this function tries to locate the Windows FOLDER for one of
(
os-cond
((
os-windows-p
)
(
mapcar
'get-folder-path
'
(
:appdata
:common-appdata
)))
(
t
(
or
(
getenv-absolute-directories
"XDG_DATA_DIRS"
)
(
mapcar
'parse-unix-namestring
'
(
"/usr/local/share/"
"/usr/share/"
)))))))
(
mapcar
'parse-unix-namestring
'
(
"/usr/local/share/"
"/
opt/local/share/"
"/
usr/share/"
)))))))
(
defun
config-search-pathnames
(
&optional
app
&rest
more
)
"the preference-ordered set of additional base paths to search for configuration files"
...
...
@@ -308,7 +308,10 @@ this function tries to locate the Windows FOLDER for one of
((
os-windows-p
)
(
apply
'data-search-pathnames
app
"config/"
more
))
(
t
(
mapcar
#'
(
lambda
(
d
)
(
resolve-location
`
(
,
d
,
app
,
more
)))
(
or
(
getenv-absolute-directories
"XDG_CONFIG_DIRS"
)
(
list
(
parse-unix-namestring
"/etc/xdg/"
)))))))
(
mapcar
'parse-unix-namestring
(
list
"/etc/xdg/"
"/usr/local/etc/"
"/opt/local/etc/"
)))))))
(
defun
cache-home-pathname
(
&optional
app
&rest
more
)
"the base directory relative to which user specific non-essential data files should be stored"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment