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

dotdrop: respect user-set PYTHONPATH

This commit is contained in:
Lalit Maganti
2021-12-13 12:34:08 +00:00
committed by deadc0de
parent ddfee88858
commit 296c179f62

View File

@@ -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