rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 471b6d47ea38466543d8566a3a7df65e1a309e4b
parent 526c86edcbf2cdd1249ee63c043dd3a96a5694a4
Author: Toby Goodwin <toby@paccrat.org>
Date:   Tue, 12 May 2015 22:28:54 +0100

make mktemp more bsd friendly

Diffstat:
MChangeLog | 3+++
Mtrip.rc | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -896,3 +896,6 @@ Changes since rc-1.5b2 Licensing: due to GPL compatibility concerns, the license is changed again to the "zlib" license. (N.B. This license change was agreed and approved by Byron Rakitzis, who is the copyright holder.) + + Testing: swap arguments to mktemp to be kinder to NetBSD (thanks Piotr + Meyer). diff --git a/trip.rc b/trip.rc @@ -24,7 +24,7 @@ fn sigexit sigint sigquit sigsegv fn sigexit { echo trip complete } -tmpdir=`{ mktemp -t -d rc-trip.XXXXXX } +tmpdir=`{ mktemp -d -t rc-trip.XXXXXX } tmp=$tmpdir/tmp nl=' '