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

Add unit test for global negative ignore patterns in update command

This commit is contained in:
Joey Territo
2020-12-21 20:30:47 -05:00
parent 4cd6d3bd24
commit f694cdcbb7
3 changed files with 137 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ else
fi
cur=$(dirname "$(${rl} "${0}")")
# dotdrop can be pass as argument
# dotdrop path can be pass as argument
ddpath="${cur}/../"
[ "${1}" != "" ] && ddpath="${1}"
[ ! -d ${ddpath} ] && echo "ddpath \"${ddpath}\" is not a directory" && exit 1