From 098eaa5e70194af81aaecb23289a82f5f9f6bd11 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 21 Aug 2022 16:06:44 -0400 Subject: oops --- libexec/recit-file | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 libexec/recit-file (limited to 'libexec') diff --git a/libexec/recit-file b/libexec/recit-file new file mode 100755 index 0000000..a5012c0 --- /dev/null +++ b/libexec/recit-file @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +if [[ -f "$HOME/.recit.location" ]]; then + recfile_location=$(cat "$HOME/.recit.location") +else + echo "$HOME/.recit.location not found, exiting" + exit 1 +fi + +echo "$recfile_location" -- cgit v1.2.3