-
Notifications
You must be signed in to change notification settings - Fork 151
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
make build
attempts to rm -Rf /bin/*
#49
Comments
|
Hi @Jayed, Thank you for your report! I think this is an undesirable behavior:scream: |
I just released v0.7.1. This version includes some fixes. Please try it:pray: |
However, regardless make is GNU make or other make, relative paths from current directory should be used carefully. For example, this also attempt to
You might mean the Makefile directory in this case. Following example works only with GNU make but safer. MKFILE_DIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
clean:
rm -Rf $(MKFILE_DIR)bin/* |
@metalefty Thank you for your suggestion!! Looks good! I'll fix it in near future:+1: |
I'm going to close this. When we take additional action, we will open other Issue/PR. |
I'm trying to build from source because I'm running on FreeBSD. I'm building such an old version because that's what the
triton-kubernetes
CLI tool tries to install.The offending line is:
My assumption is that $(CURDIR) is a GNU extension. The default
make
on BSDs is not GNU make.A possible solution is to use a GNUMakefile.
The text was updated successfully, but these errors were encountered: