File tree 2 files changed +1
-18
lines changed
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)
8
8
. " $ci_dir /shared.sh"
9
9
10
10
REPO_DIR=" $1 "
11
- CACHE_DIR=" $2 "
12
-
13
- cache_src_dir=" $CACHE_DIR /src"
14
11
15
12
if [ ! -d " $REPO_DIR " -o ! -d " $REPO_DIR /.git" ]; then
16
13
echo " Error: $REPO_DIR does not exist or is not a git repo"
17
14
exit 1
18
15
fi
19
16
cd $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 "
27
17
28
18
# On the beta channel we'll be automatically calculating the prerelease version
29
19
# 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'
7
7
8
8
source " $( cd " $( dirname " $0 " ) " && pwd) /../shared.sh"
9
9
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