From a9fc7ce1806d92779da9931c804a88ac444344ab Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 10 Oct 2022 17:18:04 +0200 Subject: pgo: run xtgettcap without any arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We execute xtgettcap in the parent terminal. Thus we don’t know if it implements XTGETTCAP, and thus it’s not guaranteed to exit - it may hang indefinitely waiting for a reply. Fix by not actually quering anything. --- pgo/full-inner.sh | 2 +- pgo/partial.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pgo') diff --git a/pgo/full-inner.sh b/pgo/full-inner.sh index 425d1ff0..c2205e5e 100755 --- a/pgo/full-inner.sh +++ b/pgo/full-inner.sh @@ -15,7 +15,7 @@ rm -f "${blddir}"/pgo-ok # To ensure profiling data is generated in the build directory cd "${blddir}" -"${blddir}"/utils/xtgettcap name +"${blddir}"/utils/xtgettcap "${blddir}"/footclient --version "${blddir}"/foot \ --config=/dev/null \ diff --git a/pgo/partial.sh b/pgo/partial.sh index 17de7175..6d6fdffe 100755 --- a/pgo/partial.sh +++ b/pgo/partial.sh @@ -21,7 +21,7 @@ rm -f "${blddir}"/pgo-ok # To ensure profiling data is generated in the build directory cd "${blddir}" -"${blddir}"/utils/xtgettcap name +"${blddir}"/utils/xtgettcap "${blddir}"/footclient --version "${blddir}"/foot --version "${blddir}"/pgo "${pgo_data}" -- cgit v1.3