[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] [PATCH] Remove #! lines from more non-executable files
From: |
Colin Watson |
Subject: |
[groff] [PATCH] Remove #! lines from more non-executable files |
Date: |
Fri, 9 Mar 2018 19:23:51 +0000 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
As with my similar previous patch, these are always invoked using
the necessary interpreter, so the #! lines were unnecessary, and
caused Debian's `lintian' tool to complain about installed
non-executable scripts.
* contrib/gpinyin/subs.pl: Remove #! line. Make non-executable.
Fix file position references.
* contrib/groffer/main_subs.pl: Remove #! line. Fix file position
references.
* contrib/groffer/man.pl: Remove #! line.
* contrib/groffer/split_env.sh: Likewise.
* contrib/groffer/subs.pl: Likewise.
* contrib/groffer/version.sh: Likewise.
* src/roff/grog/subs.pl: Likewise.
---
ChangeLog | 19 +++++++++++++++++++
contrib/gpinyin/subs.pl | 6 ++----
contrib/groffer/main_subs.pl | 6 ++----
contrib/groffer/man.pl | 2 --
contrib/groffer/split_env.sh | 2 --
contrib/groffer/subs.pl | 2 --
contrib/groffer/version.sh | 2 --
src/roff/grog/subs.pl | 1 -
8 files changed, 23 insertions(+), 17 deletions(-)
mode change 100755 => 100644 contrib/gpinyin/subs.pl
diff --git a/ChangeLog b/ChangeLog
index 4699a22..d5bb0db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2018-03-09 Colin Watson <address@hidden>
+
+ Remove #! lines from more non-executable files
+
+ As with my similar previous patch, these are always invoked using
+ the necessary interpreter, so the #! lines were unnecessary, and
+ caused Debian's `lintian' tool to complain about installed
+ non-executable scripts.
+
+ * contrib/gpinyin/subs.pl: Remove #! line. Make non-executable.
+ Fix file position references.
+ * contrib/groffer/main_subs.pl: Remove #! line. Fix file position
+ references.
+ * contrib/groffer/man.pl: Remove #! line.
+ * contrib/groffer/split_env.sh: Likewise.
+ * contrib/groffer/subs.pl: Likewise.
+ * contrib/groffer/version.sh: Likewise.
+ * src/roff/grog/subs.pl: Likewise.
+
2018-03-09 Deri James <address@hidden>
Allow a "." to signify a missing parameter in .pdftransition
diff --git a/contrib/gpinyin/subs.pl b/contrib/gpinyin/subs.pl
old mode 100755
new mode 100644
index 4eb42f4..398baac
--- a/contrib/gpinyin/subs.pl
+++ b/contrib/gpinyin/subs.pl
@@ -1,9 +1,7 @@
-#! /usr/bin/env perl
-
# gpinyin - European-like Chinese writing 'pinyin' into 'groff'
-# Source file position: <groff-source>/contrib/gpinyin/gpinyin.pl
-# Installed position: <prefix>/bin/gpinyin
+# Source file position: <groff-source>/contrib/gpinyin/subs.pl
+# Installed position: <prefix>/lib/groff/gpinyin/subs.pl
# Copyright (C) 2014 Free Software Foundation, Inc.
diff --git a/contrib/groffer/main_subs.pl b/contrib/groffer/main_subs.pl
index 51bc381..9faa881 100644
--- a/contrib/groffer/main_subs.pl
+++ b/contrib/groffer/main_subs.pl
@@ -1,9 +1,7 @@
-#! /usr/bin/env perl
-
# groffer - display groff files
-# Source file position: <groff-source>/contrib/groffer/subs.pl
-# Installed position: <prefix>/lib/groff/groffer/subs.pl
+# Source file position: <groff-source>/contrib/groffer/main_subs.pl
+# Installed position: <prefix>/lib/groff/groffer/main_subs.pl
# Copyright (C) 2006-2015 Free Software Foundation, Inc.
# Written by Bernd Warken <address@hidden>.
diff --git a/contrib/groffer/man.pl b/contrib/groffer/man.pl
index c254deb..ea03b89 100644
--- a/contrib/groffer/man.pl
+++ b/contrib/groffer/man.pl
@@ -1,5 +1,3 @@
-#! /usr/bin/env perl
-
# groffer - display groff files
# Source file position: <groff-source>/contrib/groffer/man.pl
diff --git a/contrib/groffer/split_env.sh b/contrib/groffer/split_env.sh
index 9d35119..3974bd5 100644
--- a/contrib/groffer/split_env.sh
+++ b/contrib/groffer/split_env.sh
@@ -1,5 +1,3 @@
-#! /bin/sh
-
# groffer - display groff files
# Source file position: <groff-source>/contrib/groffer/split_env.sh
diff --git a/contrib/groffer/subs.pl b/contrib/groffer/subs.pl
index 12f0260..d1dcc9c 100644
--- a/contrib/groffer/subs.pl
+++ b/contrib/groffer/subs.pl
@@ -1,5 +1,3 @@
-#! /usr/bin/env perl
-
# groffer - display groff files
# Source file position: <groff-source>/contrib/groffer/subs.pl
diff --git a/contrib/groffer/version.sh b/contrib/groffer/version.sh
index 3235e15..d6c0fee 100644
--- a/contrib/groffer/version.sh
+++ b/contrib/groffer/version.sh
@@ -1,5 +1,3 @@
-#! /bin/sh
-
# groffer - display groff files
# Source file position: <groff-source>/contrib/groffer/version.sh
diff --git a/src/roff/grog/subs.pl b/src/roff/grog/subs.pl
index db8128b..9ac6176 100644
--- a/src/roff/grog/subs.pl
+++ b/src/roff/grog/subs.pl
@@ -1,4 +1,3 @@
-#! /usr/bin/env perl
# grog - guess options for groff command
# Inspired by doctype script in Kernighan & Pike, Unix Programming
# Environment, pp 306-8.
--
2.7.4
- [groff] [PATCH] Remove #! lines from more non-executable files,
Colin Watson <=