Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
04d1e68639
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/ && \