kodev: spawn subshell in activate command

This commit is contained in:
Qingping Hou
2016-04-10 00:35:48 -07:00
parent 790472fb38
commit cc98ba7604

2
kodev
View File

@@ -384,8 +384,10 @@ fi
case $1 in
activate)
echo "adding ${CURDIR} to \$PATH..."
export PATH="${PATH}:${CURDIR}"
eval $(luarocks path bin)
exec ${SHELL}
;;
fetch-thirdparty)
kodev-fetch-thirdparty