remove unneeded escaping
This commit is contained in:
parent
d9b88eb118
commit
b246a21742
1 changed files with 5 additions and 5 deletions
10
service.nix
10
service.nix
|
@ -25,13 +25,13 @@ in
|
||||||
repo=''${args[0]}
|
repo=''${args[0]}
|
||||||
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 ~"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < "${config.repo-clone.pkg}"
|
done < "${config.repo-clone.pkg}"
|
||||||
|
|
Loading…
Reference in a new issue