Browse Source

OSX mktemp is different - hopfully this will now work on HP/UX >:}

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
Sven Dowideit 11 years ago
parent
commit
04d1e68639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/sources/installation/mac.rst

+ 1 - 1
docs/sources/installation/mac.rst

@@ -66,7 +66,7 @@ Run the following commands to get it downloaded and set up:
 .. code-block:: bash
 
     # Get the docker client file
-    DIR=$(mktemp -d) && \
+    DIR=$(mktemp -d ${TMPDIR:-/tmp}/dockerdl.XXXXXXX) && \
     curl -f -o $DIR/ld.tgz https://get.docker.io/builds/Darwin/x86_64/docker-latest.tgz && \
     gunzip $DIR/ld.tgz && \
     tar xvf $DIR/ld.tar -C $DIR/ && \