emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/greader 014101ff34 1/2: Misc fixes and improvements.


From: ELPA Syncer
Subject: [elpa] externals/greader 014101ff34 1/2: Misc fixes and improvements.
Date: Thu, 19 Dec 2024 18:58:05 -0500 (EST)

branch: externals/greader
commit 014101ff34b90a7116f2176a338f228a22338f3d
Author: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
Commit: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>

    Misc fixes and improvements.
---
 greader-piper.el | 14 +++++++++++---
 piper.sh         |  0
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/greader-piper.el b/greader-piper.el
index 345abedae4..587a242845 100644
--- a/greader-piper.el
+++ b/greader-piper.el
@@ -23,7 +23,13 @@
 ;; chances are that your distribution has already the package,or you
 ;; can download and compile the source from
 ;; https://github.com/rhasspy/piper.
-
+;;
+;; if you experiment problems on your first use of this back-end,
+;;check that you have execution permissions on "piper.sh", that should
+;;be located in the greader's directory or in your path.
+;; However it is recommended to move the script from the directory where
+;; resides greader to a directory in your path, so you can
+;; configure your shell script as you prefer.
 ;;; code:
 (require 'find-func)
 
@@ -33,8 +39,10 @@
   :group 'greader)
 
 (defcustom greader-piper-script-path
-  (file-name-concat (file-name-directory (find-library-name
-                                         "greader")) "piper.sh")
+  (progn
+    (add-to-list 'exec-path greader-process-directory)
+    (file-name-concat (file-name-directory (find-library-name
+                                           "greader")) "piper.sh"))
   "Piper script path."
   :type 'string)
 
diff --git a/piper.sh b/piper.sh
old mode 100644
new mode 100755



reply via email to

[Prev in Thread] Current Thread [Next in Thread]