commit | 2445af0575340bcb3efa4bf882278234a18da13c | [log] [tgz] |
---|---|---|
author | Thiago Farina <tfarina@chromium.org> | Mon Mar 21 13:32:30 2016 +0000 |
committer | Damien Martin-Guillerez <dmarting@google.com> | Mon Mar 21 18:39:09 2016 +0000 |
tree | 16b0a17575a4d54903b692dee3de750cad1ac99d | |
parent | 066c6c1b35d6e68775c1eb843627470b8115ce9a [diff] |
docs: add missing '-p' flag to mkdir command in the example When passing a path that has some parent directories to mkdir command you also need to pass '-p' flag to tell it to make the parent directories as needed. Otherwise you will get an error like this: mkdir: cannot create directory `src/main/java/com/example/cmdline': No such file or directory This patch fixes this documentation as it was suggested at https://groups.google.com/d/msgid/bazel-discuss/e3d20e6e-9b6f-410f-b80c-67afa9ebc9f9%40googlegroups.com?utm_medium=email&utm_source=footer -- Change-Id: I3075ac66bb7cf42f97139246471e2120838da1e6 Reviewed-on: https://bazel-review.googlesource.com/#/c/3102/ MOS_MIGRATED_REVID=117708676
diff --git a/site/docs/getting-started.md b/site/docs/getting-started.md index 613793c..1d02921 100644 --- a/site/docs/getting-started.md +++ b/site/docs/getting-started.md
@@ -152,7 +152,7 @@ file: {% highlight bash %} -$ mkdir src/main/java/com/example/cmdline +$ mkdir -p src/main/java/com/example/cmdline $ cat > src/main/java/com/example/cmdline/Runner.java <<EOF package com.example.cmdline;