From 79d2c4e838e1dd1fc37e55eea4414abb94e5ac1c Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sun, 14 Jul 2002 17:07:44 +0000 Subject: [PATCH] @@ -2,6 +2,7 @@ + * sync-accounts comments may be indented. --- debian/changelog | 1 + sync-accounts/sync-accounts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5b424f6..8466b92 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ chiark-utils (3.0.0) unstable; urgency=low * Added sync-accounts. * Manpage sync-accounts(8). + * sync-accounts comments may be indented. -- diff --git a/sync-accounts/sync-accounts b/sync-accounts/sync-accounts index 40d6a6b..fe5b666 100755 --- a/sync-accounts/sync-accounts +++ b/sync-accounts/sync-accounts @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: sync-accounts,v 1.18 2002-07-14 17:04:59 ianmdlvl Exp $ +# $Id: sync-accounts,v 1.19 2002-07-14 17:07:44 ianmdlvl Exp $ # # Copyright (C)1999-2000 Ian Jackson # Copyright (C)2000-2001 nCipher Corporation Ltd @@ -752,8 +752,8 @@ sub finish () { while () { chomp; - next if m/^\#/ || !m/\S/; s/^\s*//; s/\s*$//; + next if m/^\#/ || !m/\S/; finish() if m/^end$/; if (m/^host\s+(\S+)$/) { $ch_name= $1; -- 2.30.2