bug when trying to build primitive library or core from the primitives directory
Summary
when you try to build primitive core or libraries from the primitives directory it errors out.
Steps to reproduce
cd into the primitives directory run ocpidev build primitive core or ocpidev build primitive library
Context
build primitive cores and libraries in the GUI
Expected correct behavior
They build successfully
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it is tough to read otherwise.)
COMMAND RAN: ocpidev build hdl primitive library test1
Error: When in a "hdl-primitives" directory, operating on a "hdl-library" is invalid
COMMAND RAN: ocpidev build hdl primitive core test2
Error: When in a "hdl-primitives" directory, operating on a "hdl-core" is invalid
Environment info
Possible fixes
Acceptance criteria
when you build primitive libraries and cores from the primitives directory builds successfully.