1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 04:24:16 +00:00

disable debug in tests with env var

This commit is contained in:
deadc0de6
2019-03-13 09:00:43 +01:00
parent bf23f6b341
commit b19f115351
27 changed files with 43 additions and 35 deletions

View File

@@ -75,7 +75,7 @@ profiles:
dotfiles:
- f_abc
_EOF
cat ${cfg}
#cat ${cfg}
# create the dotfile
echo "head" > ${tmps}/dotfiles/abc
@@ -92,14 +92,14 @@ echo "is p1" >> ${tmpd}/abc
echo "tail" >> ${tmpd}/abc
# update
cat ${tmps}/dotfiles/abc
#cat ${tmps}/dotfiles/abc
set +e
patch=`cd ${ddpath} | ${bin} update -P -p p1 -k f_abc --cfg ${cfg} 2>&1 | grep 'try patching with' | sed 's/"//g'`
set -e
patch=`echo ${patch} | sed 's/^.*: //g'`
echo "patching with: ${patch}"
eval ${patch}
cat ${tmps}/dotfiles/abc
#cat ${tmps}/dotfiles/abc
## CLEANING
rm -rf ${tmps} ${tmpd} ${tmpw}