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

Add unit test for negative ignore patterns in import command

This commit is contained in:
Joey Territo
2020-12-22 20:43:29 -05:00
parent f694cdcbb7
commit 4d2f9bd285
7 changed files with 123 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ cur=$(dirname "$(${rl} "${0}")")
# dotdrop path can be pass as argument
ddpath="${cur}/../"
[ "${1}" != "" ] && ddpath="${1}"
[ -n "${1}" ] && ddpath="${1}"
[ ! -d ${ddpath} ] && exho "ddpath \"${ddpath}\" is not a directory" && exit 1
export PYTHONPATH="${ddpath}:${PYTHONPATH}"