1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-13 01:40:14 +00:00

shell linting

This commit is contained in:
deadc0de6
2023-01-28 11:22:19 +01:00
committed by deadc0de
parent 0c3fe55d47
commit 2d603f7e83
18 changed files with 249 additions and 242 deletions

View File

@@ -158,7 +158,7 @@ cd "${ddpath}" | ${bin} compare -c "${cfg1}" -p p2 -V
# test with non-existing dotpath this time
rm -rf "${tmps}"/dotfiles
rm -rf "${tmpd}"/*
rm -rf "${tmpd:?}"/*
cat > "${cfg1}" << _EOF
config:
@@ -190,7 +190,7 @@ cd "${ddpath}" | ${bin} compare -c "${cfg1}" -p p2 -V
# test with same profile defined in both
rm -rf "${tmps}"/dotfiles
rm -rf "${tmpd}"/*
rm -rf "${tmpd:?}"/*
cat > "${cfg1}" << _EOF
config: