summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-10 12:17:50 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-10 12:17:50 +0200
commitf50bfd267810b1a5c3f4fcbe0aef5378c6cc6922 (patch)
treedf80a5cd9d492efeb0495c2aa15a2fc2f7ba8e95 /bin
parentdeac57554eb47ffba99b436d82cd890aa472fc4f (diff)
pkg: list_update_remote: Use mktemp -t
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 71d7eb7..ec143b5 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -309,7 +309,7 @@ function list_type_local {
}
function list_update_remote {
- typeset tmpfile=$(mktemp pkglist.XXXXXX)
+ typeset tmpfile=$(mktemp -t pkglist.XXXXXX)
typeset -i ret=0
export PDIR
if [[ $PKG_PROTO == 'ssh' ]] {