Merge branch 'ian'

This commit is contained in:
Ian Martins 2020-11-23 15:47:55 -05:00
commit 3a2db67597
1 changed files with 6 additions and 2 deletions

View File

@ -175,8 +175,12 @@ replaced in this string.")
(file-name-base fullclassname)))
;; the base dir that contains the top level package dir
(basedir (file-name-as-directory (if run-from-temp
org-babel-temporary-directory
".")))
(if (file-remote-p default-directory)
(concat
(file-remote-p default-directory)
org-babel-remote-temporary-directory)
org-babel-temporary-directory)
default-directory)))
;; the dir to write the source file
(packagedir (if (and (not run-from-temp) packagename)
(file-name-as-directory