From 25655916c517ce732a5d615fe72021564f9b1582 Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Thu, 24 Aug 2017 16:22:40 -0500 Subject: [PATCH] Fixed vns_rm --- vns.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vns.sh b/vns.sh index ee392e9..4836310 100755 --- a/vns.sh +++ b/vns.sh @@ -122,7 +122,9 @@ function vns_list(){ } function vns_rm(){ - rm -f "$VNS_STORE/$(echo "$@" | awk '{print $1}')" + local readonly VNS_NOTE="$VNS_STORE/$(echo "$@" | awk '{print $1}').gpg" + echo "Deleting $VNS_NOTE" + rm -f "$VNS_NOTE" } function vns_gitPassthrough(){ cd "$VNS_STORE" || exit;