From 5bda62e8c359952a73d1e3131d7562eada9c335d Mon Sep 17 00:00:00 2001 From: nathaneltitane Date: Wed, 26 Jun 2024 19:10:31 -0400 Subject: [PATCH] Code & Features Update --- frobulator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frobulator b/frobulator index cb34f2b..4c6370b 100755 --- a/frobulator +++ b/frobulator @@ -2434,6 +2434,8 @@ frobulator.delete () { if [ $# -eq 1 ] then + path="${PWD}" + if [[ -n "${#list[@]}" ]] then # ${1} - array @@ -2459,8 +2461,6 @@ frobulator.delete () { list=(${@:2}) else item="${2}" - - item="${path}"/"${item}" list=() @@ -2478,7 +2478,7 @@ frobulator.delete () { rm \ --recursive \ --force \ - "${item}" + "${path}"/"${item}" done # unset array