[debhelper-devel] [PATCH] Fix typos

Jakub Wilk jwilk at debian.org
Thu Jan 14 12:45:07 UTC 2016


---
 dh_installchangelogs | 4 ++--
 dh_installcron       | 2 +-
 dh_installdocs       | 2 +-
 dh_installmanpages   | 2 +-
 dh_link              | 2 +-
 dh_suidregister      | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dh_installchangelogs b/dh_installchangelogs
index b372d9b..b5e26a7 100755
--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -23,10 +23,10 @@ An upstream F<changelog> file may be specified as an option. If none is
 specified, it looks for files with names that seem likely to be changelogs.
 (In compatibility level 7 and above.)
 
-If there is an upstream F<changelog> file, it will be be installed as
+If there is an upstream F<changelog> file, it will be installed as
 F<usr/share/doc/package/changelog> in the package build directory.
 
-If the upstream changelog is is a F<html> file (determined by file
+If the upstream changelog is an F<html> file (determined by file
 extension), it will be installed as F<usr/share/doc/package/changelog.html>
 instead. If the html changelog is converted to plain text, that variant
 can be specified as a second upstream changelog file. When no plain
diff --git a/dh_installcron b/dh_installcron
index f91ef15..8b42775 100755
--- a/dh_installcron
+++ b/dh_installcron
@@ -67,7 +67,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			install_prog($cron,"$tmp/etc/cron.$type/".pkgfilename($package));
 		}
 	}
-	# Seperate because this needs to be mode 644.
+	# Separate because this needs to be mode 644.
 	my $cron=pkgfile($package,"cron.d");
 	if ($cron) {
 		if (! -d "$tmp/etc/cron.d") {
diff --git a/dh_installdocs b/dh_installdocs
index 7eccab8..da7b517 100755
--- a/dh_installdocs
+++ b/dh_installdocs
@@ -102,7 +102,7 @@ is to make the documentation directory of a package be a dangling symlink,
 before calling B<dh_installdocs>.)
 
 B<CAVEAT>: If a previous version of the package was built without this
-option and is now built with it (or vice-versa), it requries a "dir to
+option and is now built with it (or vice-versa), it requires a "dir to
 symlink" (or "symlink to dir") migration.  Since debhelper has no
 knowledge of previous versions, you have to enable this migration
 itself.
diff --git a/dh_installmanpages b/dh_installmanpages
index a5c4dd6..d393500 100755
--- a/dh_installmanpages
+++ b/dh_installmanpages
@@ -103,7 +103,7 @@ sub find_man {
 my @sofiles;
 my @sodests;
 sub find_so_man {
-	# The -s test is becuase a .so file tends to be small. We don't want
+	# The -s test is because a .so file tends to be small. We don't want
 	# to open every man page. 1024 is arbitrary.
 	if (! -f $_ || -s $_ > 1024) {
 		return;
diff --git a/dh_link b/dh_link
index f207d40..208e875 100755
--- a/dh_link
+++ b/dh_link
@@ -31,7 +31,7 @@ L<ln(1)>).
 
 B<dh_link> will generate symlinks that comply with Debian policy - absolute
 when policy says they should be absolute, and relative links with as short
-a path as possible. It will also create any subdirectories it needs to to put
+a path as possible. It will also create any subdirectories it needs to put
 the symlinks in.
 
 Any pre-existing destination files will be replaced with symlinks.
diff --git a/dh_suidregister b/dh_suidregister
index 020e9a0..73fadae 100755
--- a/dh_suidregister
+++ b/dh_suidregister
@@ -87,7 +87,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 			warning("$file has odd gid $gid not in /etc/group");
 			$group=$gid;
 		}
-		# Note that I have to print mode in ocal, stripping file
+		# Note that I have to print mode in octal, stripping file
 		# type.
 		my $sedstr=sprintf("s:#FILE#:$file:;s/#PACKAGE#/$package/;s/#OWNER#/$user/;s/#GROUP#/$group/;s/#PERMS#/%#o/",
                                    $mode & 07777);
-- 
2.7.0.rc3





More information about the debhelper-devel mailing list