Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit bf0e2f6

Browse files
blitline-devklingerf
authored andcommitted
Fix dockerize to not choke on filepaths with spaces (#27)
The dockerize script will fail if the current path name has spaces like "External HD/sandbox/linkerd-tcp". Added quotes to prevent this issue.
1 parent 9b86237 commit bf0e2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: dockerize

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ -z "$1" ]; then
77
exit 1
88
fi
99

10-
docker run --rm -v `pwd`:/rust/app -w /rust/app jimmycuadra/rust:1.16.0 cargo build --release --target=x86_64-unknown-linux-gnu
10+
docker run --rm -v "`pwd`":/rust/app -w /rust/app jimmycuadra/rust:1.16.0 cargo build --release --target=x86_64-unknown-linux-gnu
1111
docker build -t linkerd/linkerd-tcp:$1 .
1212

1313
echo "Created linkerd/linkerd-tcp:$1"

0 commit comments

Comments
 (0)