summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorsalo <salo>2005-03-31 14:41:48 +0000
committersalo <salo>2005-03-31 14:41:48 +0000
commite461f2bbfc0ff14f832aff76ccfe3ab221a0f80d (patch)
treeb44b972e173e0491772e275600e130342b4c3316 /archivers
parente65c909ef8709c2465cf25e3440c7cce3ce986d6 (diff)
downloadpkgsrc-e461f2bbfc0ff14f832aff76ccfe3ab221a0f80d.tar.gz
Fix mktemp usage.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gsharutils/distinfo4
-rw-r--r--archivers/gsharutils/patches/patch-aj4
2 files changed, 4 insertions, 4 deletions
diff --git a/archivers/gsharutils/distinfo b/archivers/gsharutils/distinfo
index bcf90baf216..be049fb7171 100644
--- a/archivers/gsharutils/distinfo
+++ b/archivers/gsharutils/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/03/31 14:17:05 salo Exp $
+$NetBSD: distinfo,v 1.12 2005/03/31 14:41:48 salo Exp $
SHA1 (sharutils-4.2.1.tar.gz) = 3f0c0af31bd429cee1e088eb74867f20f8d399ef
RMD160 (sharutils-4.2.1.tar.gz) = 06e1629aa8a1c982e6032f194df6f5fe85f85b43
@@ -12,4 +12,4 @@ SHA1 (patch-af) = 50aee8dc24a33892a0f17f7aeb5cfbae1adcb0c9
SHA1 (patch-ag) = af78d21124b33f0d8bdc27969119222e4d79008e
SHA1 (patch-ah) = 1540064ef3a21a4486950ca24432f471bf1366a9
SHA1 (patch-ai) = a95e116d517e5fe536a31d12db1c33daaf2609af
-SHA1 (patch-aj) = ee4dbff6419932244d277f79b34c93cea97f3a90
+SHA1 (patch-aj) = 56ee560455a206c6fa5c106f1c759d0a0296dfd7
diff --git a/archivers/gsharutils/patches/patch-aj b/archivers/gsharutils/patches/patch-aj
index 57c79f7b075..6d398d499ac 100644
--- a/archivers/gsharutils/patches/patch-aj
+++ b/archivers/gsharutils/patches/patch-aj
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.4 2005/03/31 14:17:05 salo Exp $
+$NetBSD: patch-aj,v 1.5 2005/03/31 14:41:48 salo Exp $
--- src/mailshar.in.orig 1995-11-26 00:42:47.000000000 +0100
+++ src/mailshar.in 2005-03-31 15:51:27.000000000 +0200
@@ -7,7 +7,7 @@ $NetBSD: patch-aj,v 1.4 2005/03/31 14:17:05 salo Exp $
of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix."
-temp=/usr/tmp/$$.shar
-+temp=`mktemp -q /tmp/$0.XXXXXX`
++temp=`mktemp -q /tmp/${0##*/}.XXXXXX`
+if [ $? -ne 0 ]; then
+ echo "$0: Can't create temp file, exiting..."
+ exit 1