Skip to content

Commit

Permalink
switch shim to be c rather than go
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Mar 4, 2016
1 parent 08e8c13 commit cab07c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion shim/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ clean:
rm shim

build: clean
go build
musl-gcc main.c -o shim -static
strip shim

6 changes: 6 additions & 0 deletions shim/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <sys/stat.h>

int main() {
chmod("/.ducktape", S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH);
return 0;
}
9 changes: 0 additions & 9 deletions shim/main.go

This file was deleted.

0 comments on commit cab07c0

Please sign in to comment.