mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-16 22:34:10 +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; }
|
[[ "`${pybin} -V 2>&1`" =~ "Python 3" ]] || { echo "install Python 3" && exit 1; }
|
||||||
|
|
||||||
# launch dotdrop
|
# launch dotdrop
|
||||||
PYTHONPATH=dotdrop ${pybin} -m dotdrop.dotdrop "${args[@]}"
|
PYTHONPATH=dotdrop:${PYTHONPATH} ${pybin} -m dotdrop.dotdrop "${args[@]}"
|
||||||
ret="$?"
|
ret="$?"
|
||||||
|
|
||||||
# pivot back
|
# pivot back
|
||||||
|
|||||||
Reference in New Issue
Block a user