aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lorder
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-17 22:46:47 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-17 22:46:47 +0000
commitb75cda591f8d6da08718306e3dac34f34a8afa6b (patch)
treea6cc44c9c2f8e9d0ba9c47a7081cd91336ccc4e6 /usr.bin/lorder
parenta7919b459d1b8d778dc1b1d55289442c2f55b13f (diff)
Notes
Diffstat (limited to 'usr.bin/lorder')
-rw-r--r--usr.bin/lorder/lorder.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh
index b23e3519b042..a284325fc3dc 100644
--- a/usr.bin/lorder/lorder.sh
+++ b/usr.bin/lorder/lorder.sh
@@ -33,6 +33,8 @@
#
# @(#)lorder.sh 8.1 (Berkeley) 6/6/93
#
+# $FreeBSD$
+#
# only one argument is a special case, just output the name twice
case $# in
@@ -45,8 +47,8 @@ case $# in
esac
# temporary files
-R=/tmp/_reference_$$
-S=/tmp/_symbol_$$
+R=$(mktemp -t _reference_)
+S=$(mktemp -t _symbol_)
# remove temporary files on HUP, INT, QUIT, PIPE, TERM
trap "rm -f $R $S; exit 1" 1 2 3 13 15