-
Notifications
You must be signed in to change notification settings - Fork 6
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
Please remove your own go-*
directories only
#3
Comments
You are absolutely right - that Makefile was more for my own ease-of-use than intended for others to use. I will try set some time aside soon to migrate to a a proper deployment/build process. If not installing from binary but rather from source, then the intended way of install is |
Thanks. I came here because I had installed build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make clean build
} What AUR packagers do is of course not your responsibility, but if the I am not very well versed in the go programming language, but would it be possible to specify a “private” temporary directory and use that instead? E.g., if we hypothetically say that $GO_TMPDIR=$(mktemp -d)
make clean build
rm -rf "$GO_TMPDIR" Cheers. |
Thanks again for your input. I have removed the Makefile as this was not needed 👍 |
The
Makefile
has:rm -rf /tmp/go-*
https://github.com/axllent/wireguard-vanity-keygen/blob/develop/Makefile#L12
However,
wireguard-vanity-keygen
may not be the only go building process running now, and so by removing allgo-*
directories, “our” process may induce collateral damage by removing directories it hasn't created. “We” should only ever remove our own.The text was updated successfully, but these errors were encountered: