summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-06-15 22:03:09 +0200
committerBruno Haible <bruno@clisp.org>2019-06-15 22:03:09 +0200
commitc2fdc30cf07848654d70063af200d94a616a1093 (patch)
tree87b35b75d9c0d2f9a26ae2e6a5f2ac29c7e4e737
parenta05d5d121b10f24fc33e1820db436507bd6c58f0 (diff)
downloadgnulib-c2fdc30cf07848654d70063af200d94a616a1093.tar.gz
gnulib-c2fdc30cf07848654d70063af200d94a616a1093.tar.bz2
Fix comments in last commit.
Reported by Paul Eggert. * build-aux/useless-if-before-free: Fix comment regarding the second line. * build-aux/announce-gen: Likewise. * build-aux/gitlog-to-changelog: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise. * tests/test-update-copyright.sh: Update test program accordingly.
-rwxr-xr-xbuild-aux/announce-gen12
-rwxr-xr-xbuild-aux/gitlog-to-changelog12
-rwxr-xr-xbuild-aux/prefix-gnulib-mk12
-rwxr-xr-xbuild-aux/update-copyright12
-rwxr-xr-xbuild-aux/useless-if-before-free12
-rwxr-xr-xtests/test-update-copyright.sh12
6 files changed, 36 insertions, 36 deletions
diff --git a/build-aux/announce-gen b/build-aux/announce-gen
index b5728338c7..bbcaa1ab32 100755
--- a/build-aux/announce-gen
+++ b/build-aux/announce-gen
@@ -6,12 +6,12 @@
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;
diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog
index a616b82343..b2780efbeb 100755
--- a/build-aux/gitlog-to-changelog
+++ b/build-aux/gitlog-to-changelog
@@ -6,12 +6,12 @@
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;
diff --git a/build-aux/prefix-gnulib-mk b/build-aux/prefix-gnulib-mk
index 66e138b46f..864f3bf029 100755
--- a/build-aux/prefix-gnulib-mk
+++ b/build-aux/prefix-gnulib-mk
@@ -6,12 +6,12 @@
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;
diff --git a/build-aux/update-copyright b/build-aux/update-copyright
index fa9d427e92..063500d417 100755
--- a/build-aux/update-copyright
+++ b/build-aux/update-copyright
@@ -6,12 +6,12 @@
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;
diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free
index 0701e7b20b..88a787c761 100755
--- a/build-aux/useless-if-before-free
+++ b/build-aux/useless-if-before-free
@@ -6,12 +6,12 @@
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;
diff --git a/tests/test-update-copyright.sh b/tests/test-update-copyright.sh
index 9ef5344ead..5950e508b3 100755
--- a/tests/test-update-copyright.sh
+++ b/tests/test-update-copyright.sh
@@ -45,12 +45,12 @@ cat <<\EOF > $s
# or execvp() fails with ENOEXEC if it is a script that does not start
# with a #! line. The script interpreter mentioned in the #! line has
# to be /bin/sh, because on GuixSD systems that is the only program that
-# has a fixed file name. The second line is for editing this file in
-# Emacs. The next two lines below are valid code in both sh and perl.
-# When executed by sh, they re-execute the script through the perl
-# program found in $PATH. The '-x' option is essential; without it,
-# perl would re-execute the script through /bin/sh. When executed by
-# perl, the next two lines are a no-op.
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
eval 'exec perl -wSx "$0" "$@"'
if 0;

Return to:

Send suggestions and report system problems to the System administrator.