another attempt
This commit is contained in:
parent
2dd0f78052
commit
c819235262
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ in
|
||||||
target=''${args[1]}
|
target=''${args[1]}
|
||||||
|
|
||||||
if [ -d "$target" ]; then
|
if [ -d "$target" ]; then
|
||||||
files=("$target/*")
|
files=(''${target}/*)
|
||||||
|
|
||||||
if [[ $($files[@]) -gt 0 ]]; then
|
if [[ $(#$files[@]) -gt 0 ]]; then
|
||||||
echo "~ Found Files at $target ~"
|
echo "~ Found Files at $target ~"
|
||||||
else
|
else
|
||||||
echo "~ No Files in $target ~"
|
echo "~ No Files in $target ~"
|
||||||
|
|
Loading…
Reference in a new issue