pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk the timezone file on Solaris is /etc/TIMEZONE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24e0292052bc
branches:  trunk
changeset: 477385:24e0292052bc
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jul 01 13:18:20 2004 +0000

description:
the timezone file on Solaris is /etc/TIMEZONE.

diffstat:

 mk/bulk/mksandbox |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 2f2b16d45bc5 -r 24e0292052bc mk/bulk/mksandbox
--- a/mk/bulk/mksandbox Thu Jul 01 13:09:39 2004 +0000
+++ b/mk/bulk/mksandbox Thu Jul 01 13:18:20 2004 +0000
@@ -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 @@
 *)     (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 



Home | Main Index | Thread Index | Old Index