Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded honor ${TMPDIR}
details: https://anonhg.NetBSD.org/src/rev/4907a58144e1
branches: trunk
changeset: 783968:4907a58144e1
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 13 21:51:47 2013 +0000
description:
honor ${TMPDIR}
diffstat:
distrib/utils/embedded/mkimage | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r d01ebd6dd764 -r 4907a58144e1 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage Sun Jan 13 21:46:03 2013 +0000
+++ b/distrib/utils/embedded/mkimage Sun Jan 13 21:51:47 2013 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mkimage,v 1.6 2013/01/13 20:59:22 christos Exp $
+# $NetBSD: mkimage,v 1.7 2013/01/13 21:51:47 christos Exp $
# Copyright (c) 2012 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -107,7 +107,7 @@
PROG="$(basename "$0")"
bar="==="
sudo=
-mnt="/tmp/image.$$"
+mnt="${TMPDIR:-/tmp}/image.$$"
src="/usr/src"
obj="/usr/obj"
Home |
Main Index |
Thread Index |
Old Index