From: Eugene Syromyatnikov Date: Mon, 5 Sep 2016 17:35:20 +0000 (+0300) Subject: Makefile.am: use pwd instead of realpath X-Git-Tag: v4.14~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af0d95607888a7c37c51fab327b0f608780e8987;p=strace Makefile.am: use pwd instead of realpath * Makefile.am (CODE_COVERAGE_GENHTML_OPTIONS): Use standard pwd(1) instead of less widespread realpath(1) utility from GNU coreutils. --- diff --git a/Makefile.am b/Makefile.am index 65f5c645..d1ad1fec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -256,7 +256,7 @@ endif @CODE_COVERAGE_RULES@ CODE_COVERAGE_BRANCH_COVERAGE = 1 CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) \ - --prefix $(shell realpath -Ls $(abs_top_srcdir)/..) + --prefix $(shell cd $(abs_top_srcdir)/.. && pwd || echo .) CODE_COVERAGE_IGNORE_PATTERN = '/usr/include/*' strace_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS) strace_CFLAGS += $(CODE_COVERAGE_CFLAGS)