Skip to content

Commit

Permalink
Fixed invalid variable name in Dockerfile scripts.
Browse files Browse the repository at this point in the history
LLVM_SVN_REVISION was used instead of LLVM_SVN_REV.
This caused a revision option to be ignored in Dockerfiles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311564 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ilya-biryukov committed Aug 23, 2017
1 parent 0e75cf0 commit 851d801
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/docker/scripts/build_install_llvm.sh
Original file line number Diff line number Diff line change
@@ -145,10 +145,12 @@ if [ "$LLVM_BRANCH" == "" ]; then
LLVM_BRANCH="trunk"
fi

if [ "$LLVM_SVN_REVISION" != "" ]; then
SVN_REV_ARG="-r$LLVM_SVN_REVISION"
if [ "$LLVM_SVN_REV" != "" ]; then
SVN_REV_ARG="-r$LLVM_SVN_REV"
echo "Checking out svn revision r$LLVM_SVN_REV."
else
SVN_REV_ARG=""
echo "Checking out latest svn revision."
fi

CLANG_BUILD_DIR=/tmp/clang-build

0 comments on commit 851d801

Please sign in to comment.