We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69db5b9 commit 90a59f9Copy full SHA for 90a59f9
.github/workflows/ci.yml
@@ -68,7 +68,9 @@ jobs:
68
run: |
69
cat >/usr/local/bin/wrapper1 <<'EOF'
70
#!/bin/sh
71
- printf '%s %s\n' "$0" "$*" >>/var/log/wrapper1.log
+ printf '%s %s\n' "$0" "$*" |
72
+ flock /run/lock/wrapper1.fbd136bd-9b1b-448d-84a9-e18be53ae63c.lock \
73
+ tee -a /var/log/wrapper1.log >/dev/null # TODO: Also log to terminal device?
74
exec "$0.orig" "$@"
75
EOF
76
@@ -82,6 +84,7 @@ jobs:
82
84
83
85
86
chmod +x /usr/local/bin/wrap1 /usr/local/bin/wrapper1
87
+ mkdir /run/lock/wrapper1.fbd136bd-9b1b-448d-84a9-e18be53ae63c.lock
88
89
find /usr/lib/gcc \( -name cc1 -o -name cc1plus \) \
90
-print -exec /usr/local/bin/wrap1 {} \;
0 commit comments