From 27a4bd21fc17735edd93f63ce70c3f818c1b0655 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 10 Jan 2021 01:34:01 +0700 Subject: academic/cadabra2: Do not use hardcoded path. Signed-off-by: Willy Sudiarto Raharjo --- academic/cadabra2/cadabra2.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'academic') diff --git a/academic/cadabra2/cadabra2.SlackBuild b/academic/cadabra2/cadabra2.SlackBuild index b2c66c9cab..25bb7164aa 100644 --- a/academic/cadabra2/cadabra2.SlackBuild +++ b/academic/cadabra2/cadabra2.SlackBuild @@ -92,7 +92,8 @@ find ./ -type f -name '*.py' -exec \ mkdir -p build cd build - /opt/cmake-202x/bin/cmake \ + export "PATH=/opt/cmake-202x/bin:$PATH" + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -- cgit v1.2.3