-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arch Linux: Scripts do not work properly when called from PKGBUILD #385
Comments
I'd recommend getting it from the azure pipelines in the readme. But this might also be related to some fixes someone is working on in their personal repo that hasn't been pulled in yet. We're trying to update a lot of the toolings from the original atom builds that don't seem to work properly as of right now for some reason.... |
That readme says:
Sorry if that sounds stupid but I must admit that using the link provided, I am unable to find the "latest run" and also that "8 Published" link the readme is referring to. |
the "latest run" sentence is out of date, and was supposed to be deleted, but someone merged before it got deleted. Feel free to disregard that bit. Edit: the sentence is out of date, not the run itself. Do a find in page (Ctrl + F, or Cmd + F) and search for "published". It's a pretty small button, and it's not immediately obvious from its styling that it's even a button. |
It is even able to distinguish between
and
Previously, I assumed both methods of calling the script are equal to each other - but that does not seem to be the case. |
There are a lot of subprocesses involved in many Node scripts. In the first example, you set an environment variable in the current shell session, then call the script. In the second example, you set the env var specifically/only for the context running the script. (I'm not sure why it makes a difference? Second example could be seen as more explicitly asssociating the env var with the script execution context, I guess?? Sorry for the hassle this caused. I'm still unclear what the exact cause of the problem is, to be honest. But I definitely believe it happened.) I think |
Meanwhile, I was able to identify a cause for |
OK, looks like this has been fixed. Now that error occurs even when |
Hello all,
meanwhile, the
atom
build process has, fortunately, been simplified significantly. Thanks a lot to everybody who contributed there!Literally, all you have to do is
What I do not understand is why that does not work if invoked from a
PKGBUILD
file using themakepkg
tool.In particular,
script/bootstrap
fails when called fromPKGBUILD
:When
script/bootstrap
is run directly from the terminal, that error does not occur. Why?Interestingly, if I run
script/bootstrap
subsequently fromPKGBUILD
usingmakepkg -f
, it completes successfully as well.The text was updated successfully, but these errors were encountered: