Repository: beam Updated Branches: refs/heads/master a58275a2f -> ce00d2466
[BEAM-2164] Fix generate-sources.sh if directory contains space Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/bac7bde5 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/bac7bde5 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/bac7bde5 Branch: refs/heads/master Commit: bac7bde5f878e6b2104c2e7cf3d01894a8f1b71d Parents: a58275a Author: Mark Liu <mark...@google.com> Authored: Wed May 17 14:24:25 2017 -0700 Committer: Kenneth Knowles <k...@google.com> Committed: Fri May 19 10:44:43 2017 -0700 ---------------------------------------------------------------------- sdks/java/maven-archetypes/examples-java8/generate-sources.sh | 2 +- sdks/java/maven-archetypes/examples/generate-sources.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/bac7bde5/sdks/java/maven-archetypes/examples-java8/generate-sources.sh ---------------------------------------------------------------------- diff --git a/sdks/java/maven-archetypes/examples-java8/generate-sources.sh b/sdks/java/maven-archetypes/examples-java8/generate-sources.sh index 58c5f22..d8117ce 100755 --- a/sdks/java/maven-archetypes/examples-java8/generate-sources.sh +++ b/sdks/java/maven-archetypes/examples-java8/generate-sources.sh @@ -22,7 +22,7 @@ # Usage: Invoke with no arguments from any working directory. # The directory of this script. Assumes root of the maven-archetypes module. -HERE="$(dirname $0)" +HERE="$( dirname "$0" )" # The directory of the examples-java and examples-java8 modules EXAMPLES_ROOT="${HERE}/../../../../examples/java" http://git-wip-us.apache.org/repos/asf/beam/blob/bac7bde5/sdks/java/maven-archetypes/examples/generate-sources.sh ---------------------------------------------------------------------- diff --git a/sdks/java/maven-archetypes/examples/generate-sources.sh b/sdks/java/maven-archetypes/examples/generate-sources.sh index d9109ac..62af772 100755 --- a/sdks/java/maven-archetypes/examples/generate-sources.sh +++ b/sdks/java/maven-archetypes/examples/generate-sources.sh @@ -21,7 +21,7 @@ # Usage: Invoke with no arguments from any working directory. # The directory of this script. Assumes root of the maven-archetypes module. -HERE="$(dirname $0)" +HERE="$( dirname "$0" )" # The directory of the examples-java module EXAMPLES_ROOT="${HERE}/../../../../examples/java"