-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix bbmain to correctly handle #! files #51
base: main
Are you sure you want to change the base?
Conversation
confirmed that this fixes plan 9 issues. 1.16 i'm mystified. |
but in any event afaict this change is unrelated to those build failures. |
4b3065b
to
dca5793
Compare
@rminnich what's the verdict? |
oh geez, sorry, I just realized this had not gone in. Let me take a look. |
70913fd
to
49bec40
Compare
we also need it for VFAT volumes .. |
gobusybox binaries can now be invoked by creating regular files instead of symlinks, and those files need to contain: \#!/abs/path/to/bb #!gobb!# More explanation in code comments. This is needed for Plan 9 and file systems that do not support symlinks. Co-authored-by: Chris Koch <[email protected]> Signed-off-by: Ronald G. Minnich <[email protected]> Signed-off-by: Chris Koch <[email protected]>
49bec40
to
db2286e
Compare
well, that build went badly :-) |
@@ -3,6 +3,8 @@ set -eux | |||
|
|||
# This one hasn't been migrated to the go test yet. | |||
(cd ./test/requestconflict && ./test.sh) | |||
|
|||
(cd ./src/cmd/makebb && GO111MODULE=on go build .) | |||
(cd ./test && go test --makebb=../src/cmd/makebb/makebb -v) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests are not shell files anymore, they're now a Go test in ./test directory -- add your new kind of test there instead of as a shell file
This is needed for Plan 9.
Signed-off-by: Ronald G. Minnich [email protected]