_cd_to_site: Try to change dir another way

This commit is contained in:
Stig-Ørjan Smelror 2024-02-05 15:55:42 +01:00
parent 3cf51560e7
commit e7370033d9

4
qsgen2
View File

@ -111,7 +111,7 @@ _cd_to_site() {
fi fi
# Print the cd command # Print the cd command
eval $( cd ${project_dir} ) echo "cd ${project_dir}"
} }
@ -201,7 +201,7 @@ case "$1" in
exit exit
;; ;;
cd) cd)
_cd_to_site ${2} eval $( _cd_to_site ${2} )
exit exit
;; ;;
force) force)