DragonBuild / dragon

pip install dragon | A Powerful buildsystem and toolkit currently targeting darwin (iOS/macOS) machines
MIT License
220 stars 23 forks source link

DragonBuild not working on macOS Catalina (10.15.4) when building from a Theos Project #7

Closed conorthedev closed 4 years ago

conorthedev commented 4 years ago

image These errors get printed when running any dragon subcommand (v, h, etc.)

I use macOS' included ZSH shell, default Terminal App

0cyn commented 4 years ago

Did you remove all previous traces of the non-v1 project?

conorthedev commented 4 years ago

Yep, this is a clean-install of macOS Catalina that I did a few days ago. Only installed DragonBuild this morning using the install script in the README

0cyn commented 4 years ago

What's the output of cat ~/.zshrc?

conorthedev commented 4 years ago

image

conorthedev commented 4 years ago

After further inspection, deleting the last 3 lines of the source ~/.dragonbuild/internal/environment seems to have done the trick. Not sure why it's there 3 times, weird!

0cyn commented 4 years ago

That's weird, I'm going to leave this issue open in case someone else happens to have this happen. It could be an issue with the install script

conorthedev commented 4 years ago
image

This is the only thing I can see, is .profile loaded by zsh? If so, source is running two times:

conorthedev commented 4 years ago

Nope, zsh loads .zprofile

Weird, I'm installing it on another computer as we speak and I'll see what happens

0cyn commented 4 years ago

I removed the (probably stupid) environment variable dependency. You shouldn't need anything in your profile when installing the latest version.