1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fixed invalid variable name in Dockerfile scripts.

LLVM_SVN_REVISION was used instead of LLVM_SVN_REV.
This caused a revision option to be ignored in Dockerfiles.

llvm-svn: 311564
This commit is contained in:
Ilya Biryukov 2017-08-23 15:36:44 +00:00
parent bbaf076832
commit f9f4a4fef9

View File

@ -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