1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-15 15:40: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

@@ -50,7 +50,7 @@ cur=$(dirname "$(${rl} "${0}")")
# dotdrop path can be pass as argument
ddpath="${cur}/../"
[ "${1}" != "" ] && ddpath="${1}"
[ -n "${1}" ] && ddpath="${1}"
[ ! -d ${ddpath} ] && echo "ddpath \"${ddpath}\" is not a directory" && exit 1
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
@@ -129,4 +129,4 @@ set -e
rm -rf ${basedir} ${tmpd}
echo "OK"
exit 0
exit 0