Ensure private/emacs dirs end with a slash
This commit is contained in:
parent
242a28ddc9
commit
0750e877ab
1 changed files with 2 additions and 2 deletions
4
bin/doom
4
bin/doom
|
@ -45,11 +45,11 @@
|
|||
((or "-d" "--debug")
|
||||
(setq doom-debug-mode t))
|
||||
((or "-p" "--private")
|
||||
(setq doom-private-dir (expand-file-name (pop args)))
|
||||
(setq doom-private-dir (expand-file-name (concat (pop args) "/")))
|
||||
(or (file-directory-p doom-private-dir)
|
||||
(error "%s does not exist" doom-private-dir)))
|
||||
((or "-e" "--emacsd")
|
||||
(setq emacs-dir (expand-file-name (pop args)))
|
||||
(setq emacs-dir (expand-file-name (concat (pop args) "/")))
|
||||
(or (file-directory-p emacs-dir)
|
||||
(error "%s does not exist" emacs-dir)))
|
||||
((or "-y" "--yes")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue