Skip to content

Commit

Permalink
Merge pull request #19 from spacewander/master
Browse files Browse the repository at this point in the history
Only clone v2.1 tag if LJ_VER=2.1
  • Loading branch information
ignacio committed Jan 1, 2017
2 parents a518329 + e301ad9 commit 657f016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor/install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ if "%LUA%"=="luajit" (
set lj_source_folder=%APPVEYOR_BUILD_FOLDER%\downloads\luajit-%LJ_VER%
if not exist !lj_source_folder! (
echo Cloning git repo %LUAJIT_GIT_REPO% !lj_source_folder!
git clone %LUAJIT_GIT_REPO% !lj_source_folder! || call :die "Failed to clone repository"
git clone --depth 1 --branch=v2.1 %LUAJIT_GIT_REPO% !lj_source_folder! || call :die "Failed to clone repository"
) else (
cd !lj_source_folder!
git pull || call :die "Failed to update repository"
git checkout v2.1 || call :die
)
cd !lj_source_folder!\src
git checkout v2.1 || call :die
) else (
set lj_source_folder=%APPVEYOR_BUILD_FOLDER%\downloads\luajit-%LJ_VER%
if not exist !lj_source_folder! (
Expand Down

0 comments on commit 657f016

Please sign in to comment.