mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +00:00
dotdrop: respect user-set PYTHONPATH
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user