1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-12 16:25:13 +00:00

fix import and debug for travis

This commit is contained in:
deadc0de6
2019-06-24 22:28:09 -04:00
parent a13a96b68b
commit 01597c9c24
4 changed files with 19 additions and 16 deletions

View File

@@ -73,14 +73,15 @@ _EOF
cd ${ddpath} | ${bin} import -f -c ${cfg} -p p1 -V ${tmpd}/adir
# change the file
echo "second" > ${tmpd}/adir/file1
echo "second" >> ${tmpd}/adir/file1
# import file
cd ${ddpath} | ${bin} import -f -c ${cfg} -p p1 -V ${tmpd}/adir/file1
# test
#cat ${tmps}/dotfiles/${tmpd}/adir/file1
[ ! -e ${tmps}/dotfiles/${tmpd}/adir/file1 ] && echo "not exist" && exit 1
grep 'second' ${tmps}/dotfiles/${tmpd}/adir/file1
grep 'second' ${tmps}/dotfiles/${tmpd}/adir/file1 >/dev/null
## CLEANING
rm -rf ${tmps} ${tmpd}