Fixed gpg command line.
This commit is contained in:
parent
edf6ca74f3
commit
68853ba9d7
1 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ To sign a file you should used
|
|||
(string-trim-right
|
||||
(shell-command-to-string
|
||||
(concat
|
||||
"gpg --status-fd 1 --verify" file ".sig " file "2>/dev/null"
|
||||
(format "gpg --status-fd 1 --verify %s.sig %s 2>/dev/null " file file)
|
||||
"|grep VALIDSIG"
|
||||
"|awk '{print $3}'"))))
|
||||
|
||||
|
@ -46,9 +46,11 @@ This is run once the project is loaded signifying project setup."
|
|||
(interactive)
|
||||
(when (projectile-project-p)
|
||||
(lexical-let* ((current-project-root (projectile-project-root))
|
||||
(project-init-file (expand-file-name auto-load-project/project-file current-project-root)))
|
||||
(project-init-file (expand-file-name auto-load-project/project-file current-project-root))
|
||||
(project-sign-file (concat project-init-file ".sig")))
|
||||
(when (and (not (member current-project-root auto-load-project/loaded-projects))
|
||||
(file-exists-p project-init-file)
|
||||
(file-exists-p project-sign-file)
|
||||
(auto-load-project/trusted-gpg-origin-p project-init-file))
|
||||
(message "Loading project init file for %s" (projectile-project-name))
|
||||
(condition-case ex
|
||||
|
|
Loading…
Reference in a new issue