mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-14 14:42:25 +00:00
refactor command "listfiles" to "files"
This commit is contained in:
@@ -88,7 +88,7 @@ _EOF
|
||||
cd ${ddpath} | ${bin} import -c ${cfg} -p p1 -V --link=link_children ${dt}
|
||||
|
||||
# check is set to link_children
|
||||
line=$(cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p1 -V | grep "d_`basename ${dt}`")
|
||||
line=$(cd ${ddpath} | ${bin} files -c ${cfg} -p p1 -V | grep "d_`basename ${dt}`")
|
||||
echo ${line} | grep 'link: link_children'
|
||||
|
||||
# checks file exists in dotpath
|
||||
|
||||
Reference in New Issue
Block a user