If I use new version, it gives me an error
Undefined subroutine &EMC::IO::open called at /Users/Karteek/softwares/EMC_2022/v9.4.4/scripts/emc_setup.pl line 2886.
If I still use build.emc generated with old version, it works perfectly fine.
I have been modularizing EMC Setup and something during auto-recognition of the modules directory went awry. A way to make the new version work, is to add
export EMC_ROOT=~/emc/v9.4.4
to your ~/.bashrc. You can replace ~/emc by the directory you unpacked it in, if this is not ~/emc. Future versions of EMC Setup will have remedied this issue.