From 296c179f626397e6e53da9ae51d5108e0f11cf59 Mon Sep 17 00:00:00 2001 From: Lalit Maganti Date: Mon, 13 Dec 2021 12:34:08 +0000 Subject: [PATCH] dotdrop: respect user-set PYTHONPATH --- dotdrop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop.sh b/dotdrop.sh index 829ceec..70eb9ba 100755 --- a/dotdrop.sh +++ b/dotdrop.sh @@ -36,7 +36,7 @@ hash ${pybin} 2>/dev/null || pybin="python" [[ "`${pybin} -V 2>&1`" =~ "Python 3" ]] || { echo "install Python 3" && exit 1; } # launch dotdrop -PYTHONPATH=dotdrop ${pybin} -m dotdrop.dotdrop "${args[@]}" +PYTHONPATH=dotdrop:${PYTHONPATH} ${pybin} -m dotdrop.dotdrop "${args[@]}" ret="$?" # pivot back