bazeltools / bazel-deps

Generate bazel dependencies for maven artifacts
MIT License
249 stars 121 forks source link

Initial run of script errors on linux because of a missing directory #285

Closed snoble closed 4 years ago

snoble commented 4 years ago

I get this on the initial run of update_dependencies.sh

Updating bazel dependencies. This will take about five minutes.
Fetching bazel deps.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   606  100   606    0     0   1660      0 --:--:-- --:--:-- --:--:--  1655
100 45.9M  100 45.9M    0     0  6204k      0  0:00:07  0:00:07 --:--:-- 6776k
mv: cannot move '/tmp/bazel-deps-bin' to '/home/steven/.bazel-deps-cache/v0.1-4': No such file or directory

mkdir ~/.bazel-deps-cache solves this.

johnynek commented 4 years ago

sounds like we need to add that to the script. Want to send a PR?