remove unneeded escaping

main
Zynh Ludwig 2024-08-01 03:21:36 -07:00
parent d9b88eb118
commit b246a21742
1 changed files with 5 additions and 5 deletions

View File

@ -25,13 +25,13 @@ in
repo=''${args[0]}
target=''${args[1]}
if [ -d "''$target" ]; then
files=($target"/*")
if [ -d "$target" ]; then
files=("$($target)/*")
if [[ ''$(''$files[@]) -gt 0 ]]; then
echo "~ Found Files at ''$target ~"
if [[ $($files[@]) -gt 0 ]]; then
echo "~ Found Files at $target ~"
else
echo "~ No Files in ''$target ~"
echo "~ No Files in $target ~"
fi
fi
done < "${config.repo-clone.pkg}"