From ccb088f096d7c0e7083578262a96d6b78d6b9e0d Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 2 Oct 2006 18:48:01 +0000 Subject: [PATCH] let register-plist show stuff in a format ready for copy-paste. Suggestion from alek@, took it one step further... --- infrastructure/package/register-plist | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/package/register-plist b/infrastructure/package/register-plist index 62c2e0755bd..68d9df4578a 100644 --- a/infrastructure/package/register-plist +++ b/infrastructure/package/register-plist @@ -1,6 +1,6 @@ #! /usr/bin/perl -# $OpenBSD: register-plist,v 1.9 2006/07/17 16:51:53 espie Exp $ +# $OpenBSD: register-plist,v 1.10 2006/10/02 18:48:01 espie Exp $ # Copyright (c) 2005 # Marc Espie. All rights reserved. # Redistribution and use in source and binary forms, with or without @@ -243,7 +243,8 @@ for my $pkgfile (@ARGV) { if ($r == 1) { my $t = "$result-new"; $plist->tofile($t); - print STDERR "Error: $t and $result are different\n"; + print STDERR "Error: change in plist\n"; + print STDERR "\tdiff -u $result $t\n"; $error++; } if ($r == 2) {