about summary refs log tree commit diff homepage
path: root/scripts/build/llvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/llvm.sh')
-rwxr-xr-xscripts/build/llvm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/llvm.sh b/scripts/build/llvm.sh
index 26ee8efb..cae64dd1 100755
--- a/scripts/build/llvm.sh
+++ b/scripts/build/llvm.sh
@@ -40,9 +40,9 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
   fi
 
   # Apply existing patches if needed
-  if [ -f "${BASE}/scripts/build/llvm${LLVM_VERSION_SHORT}.patch" ]; then
+  if [ -f "${DIR}/patches/llvm${LLVM_VERSION_SHORT}.patch" ]; then
      cd "${LLVM_BASE}"
-     patch -p0 -i "${BASE}/scripts/build/llvm${LLVM_VERSION_SHORT}.patch"
+     patch -p0 -i "${DIR}/patches/llvm${LLVM_VERSION_SHORT}.patch"
   fi
 fi