Skip to content

Commit 24ffac0

Browse files
committed
it's that i cd'd and broke the relative path
1 parent f0025f6 commit 24ffac0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
run: |
5555
GATE_REF="$(./tools/check_headers gate_ref)"
5656
git clone --depth 1 --revision "$GATE_REF" \
57-
https://github.com/oxidecomputer/illumos-gate ./illumos-gate
58-
ls ./illumos-gate/usr/src/uts/intel/sys/
59-
./tools/check_headers run ./illumos-gate
57+
https://github.com/oxidecomputer/illumos-gate ../illumos-gate
58+
./tools/check_headers run ../illumos-gate
6059

tools/check_headers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function usage() {
2828
}
2929

3030
function run_checks() {
31-
export GATE_SRC="$1"
31+
export GATE_SRC="$(readlink -e $1)"
3232

3333
if ! [ -d "$GATE_SRC" ]; then
3434
echo "header-check was given non-existent \"$GATE_SRC\" as gate directory"

0 commit comments

Comments
 (0)