File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -8,22 +8,12 @@ ci_dir=$(cd $(dirname $0) && pwd)
88. " $ci_dir /shared.sh"
99
1010REPO_DIR=" $1 "
11- CACHE_DIR=" $2 "
12-
13- cache_src_dir=" $CACHE_DIR /src"
1411
1512if [ ! -d " $REPO_DIR " -o ! -d " $REPO_DIR /.git" ]; then
1613 echo " Error: $REPO_DIR does not exist or is not a git repo"
1714 exit 1
1815fi
1916cd $REPO_DIR
20- if [ ! -d " $CACHE_DIR " ]; then
21- echo " Error: $CACHE_DIR does not exist or is not an absolute path"
22- exit 1
23- fi
24-
25- rm -rf " $CACHE_DIR "
26- mkdir " $CACHE_DIR "
2717
2818# On the beta channel we'll be automatically calculating the prerelease version
2919# via the git history, so unshallow our shallow clone from CI.
Original file line number Diff line number Diff line change @@ -7,11 +7,4 @@ IFS=$'\n\t'
77
88source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
99
10- if isWindows; then
11- path=" /c/cache/rustsrc"
12- else
13- path=" ${HOME} /rustsrc"
14- fi
15-
16- mkdir -p " ${path} "
17- " $( cd " $( dirname " $0 " ) " && pwd) /../init_repo.sh" . " ${path} "
10+ " $( cd " $( dirname " $0 " ) " && pwd) /../init_repo.sh" .
You can’t perform that action at this time.
0 commit comments