aboutsummaryrefslogtreecommitdiff
path: root/libexec/recit-recsel-entries
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-08-22 21:40:59 +0000
committerJulio Capote <jcapote@gmail.com>2022-08-22 21:40:59 +0000
commit262ebb5ba628460e12a688be2957db17e1855d23 (patch)
tree64997a16b9c66ab30f1b6d209ebd3fe9c799d1fd /libexec/recit-recsel-entries
parentdc63bf274983b9df8249ce050352533c27f7b41b (diff)
downloadrecit-262ebb5ba628460e12a688be2957db17e1855d23.tar.gz
use $_RECIT_ROOT
Diffstat (limited to '')
-rwxr-xr-xlibexec/recit-recsel-entries4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/recit-recsel-entries b/libexec/recit-recsel-entries
index f2ca2f9..e447712 100755
--- a/libexec/recit-recsel-entries
+++ b/libexec/recit-recsel-entries
@@ -4,8 +4,8 @@ set -e
recfile=$(recit-file)
if [[ "$1" = "" ]]; then
- out=$(recsel -t Entry "$recfile" | recfmt -f share/recit/templates/entries.templ)
+ out=$(recsel -t Entry "$recfile" | recfmt -f "$_RECIT_ROOT/share/recit/templates/entries.templ")
else
- out=$(recsel -t Entry "$recfile" -e "$1" | recfmt -f share/recit/templates/entries.templ)
+ out=$(recsel -t Entry "$recfile" -e "$1" | recfmt -f "$_RECIT_ROOT/share/recit/templates/entries.templ")
fi
echo -e "$out"