We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c5974d commit f87c5b8Copy full SHA for f87c5b8
build-tools/cache_samples.sh
@@ -15,10 +15,9 @@ function clone_sample_repo() {
15
local repoUrl="$1"
16
local repoOutputDir="$2"
17
local repoRevision="$3"
18
- echo $repoUrl $repoOutputDir $repoRevision
19
git clone $repoUrl $repoOutputDir
20
if [[ $repoRevision != "null" ]]; then
21
- git checkout $repoRevision
+ cd $repoOutputDir && git checkout $repoRevision && cd -
22
fi
23
}
24
0 commit comments