summaryrefslogtreecommitdiff
path: root/bootstrap/bootstrap
diff options
context:
space:
mode:
authorhans <hans>2011-10-04 11:37:38 +0000
committerhans <hans>2011-10-04 11:37:38 +0000
commit2984dae8135d587916283d904e88cfe0e1c560b6 (patch)
tree87c72ca6c3535ec6f1b35517665d2806cae10d00 /bootstrap/bootstrap
parente25f5aeb8a590f0581e2596396213c9b79732d46 (diff)
downloadpkgsrc-2984dae8135d587916283d904e88cfe0e1c560b6.tar.gz
Not every tar knows -z.
Diffstat (limited to 'bootstrap/bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 89b5bef9efe..2143a00dd8c 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.170 2011/09/14 15:14:53 hans Exp $
+# $NetBSD: bootstrap,v 1.171 2011/10/04 11:37:38 hans Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -109,7 +109,7 @@ mkbinarykit_tgz()
{
# in case tar was built by bootstrap
PATH="$prefix/bin:$PATH"; export PATH
- cd / && tar -hzcf "${binary_gzip_kit}" .$prefix .$pkgdbdir .$etc_mk_conf
+ cd / && tar -hcf - .$prefix .$pkgdbdir .$etc_mk_conf | gzip > "${binary_gzip_kit}"
}
die()