Skip to content

Commit a07f059

Browse files
committed
fix issue with faulty bzip2 check in deps.sh
Signed-off-by: Ritesh.K <riteshkarki6@gmail.com>
1 parent 4cda1c4 commit a07f059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ if ! find ${PREFIX}/{include,share} -name "*nlohmann*" 2>/dev/null | grep -q . &
613613
fi
614614

615615
# Build and install Bzip2 required for hook create_chronics
616-
if !{ [ -f /usr/local/include/bzlib.h ] && ldconfig -p} | grep -q libbz2 && \
616+
if ! { [ -f /usr/local/include/bzlib.h ] && ldconfig -p | grep -q libbz2; } && \
617617
should_build "BZip2" "for create_chronics hook"; then
618618
git clone https://github.com/libarchive/bzip2.git bzip2
619619
mkdir -p bzip2/build

0 commit comments

Comments
 (0)