Files
pkgsrc-ng/lang/rust/patches/patch-src_llvm_utils_buildit_build__llvm
2016-11-18 22:39:22 +01:00

16 lines
515 B
Plaintext

$NetBSD: patch-src_llvm_utils_buildit_build__llvm,v 1.1 2016/09/06 10:36:49 jperkin Exp $
Shell portability fix.
--- src/llvm/utils/buildit/build_llvm.orig 2016-03-03 01:04:56.000000000 +0000
+++ src/llvm/utils/buildit/build_llvm
@@ -227,7 +227,7 @@ cd $DIR/obj-llvm || exit 1
# Install the tree into the destination directory.
make $JOBS_FLAG $COMMON_MAKEFLAGS UNIVERSAL_ARCH="$HOSTS" install
-if ! test $? == 0 ; then
+if ! test $? = 0 ; then
echo "error: LLVM 'make install' failed!"
exit 1
fi