mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 17:24:46 +00:00
refactor command "listfiles" to "files"
This commit is contained in:
@@ -94,7 +94,7 @@ cd ${ddpath} | ${bin} import -c ${cfg} -p p2 \
|
||||
${tmpd}/sub/sub2/abc
|
||||
|
||||
# count dotfiles for p2
|
||||
cnt=`cd ${ddpath} | ${bin} listfiles -c ${cfg} -p p2 -b | grep '^f_' | wc -l`
|
||||
cnt=`cd ${ddpath} | ${bin} files -c ${cfg} -p p2 -b | grep '^f_' | wc -l`
|
||||
[ "${cnt}" != "4" ] && exit 1
|
||||
|
||||
## CLEANING
|
||||
|
||||
Reference in New Issue
Block a user