Skip to content
Permalink
Browse files

Update the share directory location

This location depends on the initial install directory of automake. Eg, it can be installed inside /usr/local instead of /usr
  • Loading branch information...
kdridi authored and Snaipe committed Oct 31, 2019
1 parent 7776281 commit 81982a28a4bc2547046624cb5f37182680f5fd1a
Showing with 2 additions and 1 deletion.
  1. +2 −1 dev/autotools/autogen.sh
@@ -2,9 +2,10 @@

# copy TAP driver into build-aux
automake_ver=$(automake --version | \grep -E -o '[0-9]\.[0-9]{2}')
automake_dir=$(dirname $(which automake))/..

This comment has been minimized.

Copy link
@am11

am11 Nov 4, 2019

Contributor

maybe command -v automake is more portable.


mkdir -p build-aux
cp -f /usr/share/automake-$automake_ver/tap-driver.sh build-aux
cp -f $automake_dir/share/automake-$automake_ver/tap-driver.sh build-aux

# create criterion TAP log compiler
# this is necessary to print TAP (and only TAP) on the standard output,

0 comments on commit 81982a2

Please sign in to comment.
You can’t perform that action at this time.