]> git.eshelyaron.com Git - esy-publish.git/commitdiff
Use file-truename to resolve symlinks in the website's directory
authorEshel Yaron <me@eshelyaron.com>
Sun, 16 Apr 2023 15:46:31 +0000 (18:46 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 16 Apr 2023 15:46:31 +0000 (18:46 +0300)
esy-publish.el

index 02b0451342d17ff7c867ab6974a831ed4156b53e..36a922e6ebd5a4e00a06b642c3a5f7ee84566cb0 100644 (file)
@@ -6,7 +6,7 @@
 ;; Maintainer: Eshel Yaron <me@eshelyaron.com>
 ;; Keywords: languages extensions
 ;; URL: http://git.eshelyaron.com/gitweb/?p=esy-publish.git
-;; Package-Version: 0.4.0
+;; Package-Version: 0.5.0
 ;; Package-Requires: ((emacs "28.2"))
 
 ;; This file is NOT part of GNU Emacs.
 (defvar esy-publish-did-setup-p nil)
 
 (defvar esy-publish-elisp-directory
-  (file-name-as-directory (file-name-directory (expand-file-name load-file-name))))
+  (file-name-as-directory
+   (file-truename
+    (file-name-directory
+     (expand-file-name load-file-name)))))
 
 (defvar esy-publish-root-directory esy-publish-elisp-directory)