repo: uritools action: commit revision: path_from: revision_from: 7f25abd6baad592e22749e76f7ba2674df4c9e30: path_to: revision_to:
commit 7f25abd6baad592e22749e76f7ba2674df4c9e30 Author: epochDate: Wed Nov 29 12:17:19 2023 -0600 prepend $PREFIX to the db location of RFCs so urititle works without root too. diff --git a/urititle b/urititle
--- a/urititle
+++ b/urititle
@@ -137,7 +137,7 @@ urn)
nss2="$(printf "%s\n" "$uri" | cut -d: -f4)"
if [ "$nid" = "ietf" ];then
if [ "$nss" = "rfc" ];then
- cat "/var/db/rfc/rfc${nss2}.json" | jq .title
+ cat "${PREFIX}/var/db/rfc/rfc${nss2}.json" | jq .title
exit 0
fi
fi
-----END OF PAGE-----