Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: kvm@vger.kernel.org
Subject: [PATCH 1/2] make-release: don't use --tmpdir mktemp option
Date: Fri, 24 Sep 2010 14:03:03 -0300	[thread overview]
Message-ID: <1285347784-21180-2-git-send-email-ehabkost@redhat.com> (raw)
In-Reply-To: <1285347784-21180-1-git-send-email-ehabkost@redhat.com>

This allows the script to work on older systems, where 'mktemp --tmpdir' is not
available.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 kvm/scripts/make-release |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kvm/scripts/make-release b/kvm/scripts/make-release
index 64e77f9..c5f8c92 100755
--- a/kvm/scripts/make-release
+++ b/kvm/scripts/make-release
@@ -12,7 +12,7 @@ formal=
 
 releasedir=~/sf-release
 [[ -z "$TMP" ]] && TMP="/tmp"
-tmpdir=`mktemp -d --tmpdir="$TMP" qemu-kvm-make-release.XXXXXXXXXX`
+tmpdir=`mktemp -d "$TMP/qemu-kvm-make-release.XXXXXXXXXX"`
 while [[ "$1" = -* ]]; do
     opt="$1"
     shift
-- 
1.7.2.1


  reply	other threads:[~2010-09-24 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 17:03 [PATCH 0/2] qemu-kvm: make make-release work on older systems Eduardo Habkost
2010-09-24 17:03 ` Eduardo Habkost [this message]
2010-09-24 17:03 ` [PATCH 2/2] make-release: don't use --mtime and --transform tar options Eduardo Habkost
2010-09-29 21:10 ` [PATCH 0/2] qemu-kvm: make make-release work on older systems Marcelo Tosatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285347784-21180-2-git-send-email-ehabkost@redhat.com \
    --to=ehabkost@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox