summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2004-07-01 13:18:20 +0000
committergrant <grant>2004-07-01 13:18:20 +0000
commit60640defb37775bd0f0acbefa153f3bb1bd687f7 (patch)
treebe1597ff41db2ce4e256db0dc092b9e5dff5e040 /mk
parenta4302ebb570aa668874e31e09bc0beeff766a409 (diff)
downloadpkgsrc-60640defb37775bd0f0acbefa153f3bb1bd687f7.tar.gz
the timezone file on Solaris is /etc/TIMEZONE.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/bulk/mksandbox12
1 files changed, 10 insertions, 2 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index 8d57d6ef1f3..92f4e752efd 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.33 2004/06/06 01:33:17 grant Exp $
+# $NetBSD: mksandbox,v 1.34 2004/07/01 13:18:20 grant Exp $
#
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -220,7 +220,15 @@ case "$paxprog" in
*) (cd /etc; $paxprog -rwpe . $sandbox/etc) ;;
esac
rm -f $sandbox/etc/localtime
-$cpprog /usr/share/zoneinfo/GMT $sandbox/etc/localtime
+
+case "$opsys" in
+SunOS)
+ $cpprog /etc/TIMEZONE $sandbox/etc/TIMEZONE
+ ;;
+*)
+ $cpprog /usr/share/zoneinfo/GMT $sandbox/etc/localtime
+ ;;
+esac
echo "Make empty dirs upon which to mount the null mounts"
for d in $sandboxMountDirs; do