This commit is contained in:
Eelco Dolstra
2017-12-25 15:02:17 +01:00
parent 0d79f16fd5
commit 8913c682cf
4 changed files with 7 additions and 7 deletions

View File

@ -99,7 +99,7 @@ inputDir=
[%+ IF input.type == "git" %]
inputDir="$tmpDir/[% input.name %]/git-export"
inputDir="$tmpDir/[% input.name %]/source"
if ! [ -d "$inputDir" ]; then
info "fetching Git input [% input.name %] from [% input.uri %] (commit [% input.revision %])..."
@ -121,7 +121,7 @@ args+=(--arg '[% input.name %]' "{ outPath = $inputDir; rev = \"[% input.revisio
[%+ ELSIF input.type == "hg" %]
inputDir="$tmpDir/[% input.name %]/hg-archive"
inputDir="$tmpDir/[% input.name %]/source"
if ! [ -d "$inputDir" ]; then
info "fetching Mercurial input [% input.name %] from [% input.uri %] (commit [% input.revision %])..."
@ -143,7 +143,7 @@ args+=(--arg '[% input.name %]' "{ outPath = $inputDir; rev = \"[% input.revisio
[%+ ELSIF input.type == "svn" %]
inputDir="$tmpDir/[% input.name %]/svn-export"
inputDir="$tmpDir/[% input.name %]/source"
if ! [ -d "$inputDir" ]; then
info "fetching Subversion input [% input.name %] from [% input.uri %] (commit [% input.revision %])..."