From 9281563f0bebd6f2093482ccb1f04b3cf3f1350d Mon Sep 17 00:00:00 2001
From: akashk4 <akashk4@illinois.edu>
Date: Tue, 28 Jan 2020 21:04:30 -0600
Subject: [PATCH] Fixing errors in llvm_installer.sh

---
 hpvm/scripts/llvm_installer.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/scripts/llvm_installer.sh b/hpvm/scripts/llvm_installer.sh
index 734023529d..2c6f6ebe43 100755
--- a/hpvm/scripts/llvm_installer.sh
+++ b/hpvm/scripts/llvm_installer.sh
@@ -182,7 +182,7 @@ make -j$NUM_THREADS
 #make install
 
 
-if [ -x $BUILD_DIR/tools/hpvm/projects/$HPVM_RT ]; then
+if [ -f $BUILD_DIR/tools/hpvm/projects/$HPVM_RT ]; then
     true
 else
     echo HPVM not installed properly.
-- 
GitLab