Skip to content

Commit

Permalink
[chore] remove realpath usage (#18410)
Browse files Browse the repository at this point in the history
Trying to fix installation of tools on windows. It looks like SRC_ROOT isn't working as it is on windows:

```
/usr/bin/sh: line 1: /internal/tools/tools.go: No such file or directory
```

See https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/4113006957/jobs/7098614011

Signed-off-by: Alex Boten <aboten@lightstep.com>
  • Loading branch information
Alex Boten authored Feb 7, 2023
1 parent 69c7a79 commit 53e1804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.Common
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else
endif

# SRC_ROOT is the top of the source tree.
SRC_ROOT := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
SRC_ROOT := $(shell git rev-parse --show-toplevel)

# build tags required by any component should be defined as an independent variables and later added to GO_BUILD_TAGS below
GO_BUILD_TAGS=""
Expand Down

0 comments on commit 53e1804

Please sign in to comment.