From 5ba46a35872875720a563717c3885b85bbcd54c6 Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Wed, 25 Jan 2006 08:48:41 +0000 Subject: updated to original script with only path change Package-Manager: portage-2.1_pre3-r1 --- sys-apps/adjtime/ChangeLog | 6 +++++- sys-apps/adjtime/Manifest | 4 ++-- sys-apps/adjtime/files/adjtime.pl | 4 +--- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'sys-apps/adjtime') diff --git a/sys-apps/adjtime/ChangeLog b/sys-apps/adjtime/ChangeLog index 406eda111720..6858e1490afb 100644 --- a/sys-apps/adjtime/ChangeLog +++ b/sys-apps/adjtime/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/adjtime # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/adjtime/ChangeLog,v 1.2 2006/01/22 22:36:50 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/adjtime/ChangeLog,v 1.3 2006/01/25 08:48:41 nerdboy Exp $ + + 25 Jan 2006; Steve Arnold files/adjtime.pl: + updated to original script with only path change; not sure why a "which" + check on the path would dork it up... *adjtime-0.4-r1 (22 Jan 2006) diff --git a/sys-apps/adjtime/Manifest b/sys-apps/adjtime/Manifest index 14d4e30d860c..51e9a615fd9a 100644 --- a/sys-apps/adjtime/Manifest +++ b/sys-apps/adjtime/Manifest @@ -1,7 +1,7 @@ -MD5 f69d1750b436bf8accb3f06d5e8947b4 ChangeLog 688 +MD5 317dc3fc7c7b6aff0ee469de1261970d ChangeLog 871 MD5 6ae2d582b82a4dd8f85e64c1466c8676 adjtime-0.4-r1.ebuild 1008 MD5 2947b44650fb5fcc620b35ad052a0b0f files/adjtime.conf 167 MD5 8485681a63e1459f61bab861391f2d33 files/adjtime.init 379 -MD5 833592d3d317e04b6aff1391598b0883 files/adjtime.pl 8604 +MD5 6214dd9d7bbaf37a89c5200bddb2d404 files/adjtime.pl 8535 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-adjtime-0.4-r1 0 MD5 583413c267e514ed42e788dfa43f31d5 metadata.xml 403 diff --git a/sys-apps/adjtime/files/adjtime.pl b/sys-apps/adjtime/files/adjtime.pl index 2cf24dbc7198..efbf5799a091 100644 --- a/sys-apps/adjtime/files/adjtime.pl +++ b/sys-apps/adjtime/files/adjtime.pl @@ -219,12 +219,10 @@ sub get_offset { # () sub get_tickadj { # ($) - my $TICKADJ = (`which tickadj`); - printf STDERR "Using %s", $TICKADJ; my ($tick) = @_; $tick = '' unless defined($tick); - foreach my $line (`$TICKADJ $tick`) { + foreach my $line (`/usr/bin/tickadj $tick`) { printf STDERR "DEBUG: [%s]\n", $line if $DEBUG; return $1 if $line =~ m/^tick\s+=\s+(\d+)\s*$/i; } -- cgit v1.2.3-65-gdbad