Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Aug 28, 2024
1 parent 5322824 commit a54bc7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions borg.el
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ default value.")
(directory-file-name borg-drones-directory)))
topdir)
(locate-dominating-file borg-drones-directory "init.el")
(and (file-in-directory-p libdir user-emacs-directory)
(and (or (file-in-directory-p libdir user-emacs-directory)
(equal (getenv "CI") "true"))
user-emacs-directory)
(error "Could not determine `borg-user-emacs-directory'"))
"Directory beneath which additional per-user Emacs-specific files are placed.
Expand All @@ -156,7 +157,8 @@ directory is used.")
(file-name-as-directory
(car (process-lines
"git" "rev-parse" "--show-toplevel")))))
(error "Could not determine `borg-top-level-directory'"))
(and (not (equal (getenv "CI") "true"))
(error "Could not determine `borg-top-level-directory'")))
"The top-level of repository containing `borg-user-emacs-directory'.")
)

Expand Down

0 comments on commit a54bc7c

Please sign in to comment.