]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
src/bin/: Disable pathname expansion
authorAlejandro Colomar <alx@kernel.org>
Sun, 2 Nov 2025 19:11:44 +0000 (20:11 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 2 Nov 2025 20:04:50 +0000 (21:04 +0100)
We don't use globs within these scripts, so disable them, for safety
reasons.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/bin/diffman-git
src/bin/grepc
src/bin/mansect
src/bin/pdfman

index cabae057454b0175ccc360791dd5b3b11929e5de..20fff356797979b6f99471a322ac7df2f65ac4de 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright, the authors of the Linux man-pages project
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-set -Eeuo pipefail;
+set -Eefuo pipefail;
 shopt -s lastpipe;
 
 # Defaults:
index 50af53e25671f0c805c6ef10a629e1528b6d512d..5de767ac4ba42c145f0ce7f03a432786c11c60f8 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright, the authors of the Linux man-pages project
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-set -Eeuo pipefail;
+set -Eefuo pipefail;
 trap 'exit 2;' ERR;
 
 
index 85c13c0d7ac611453fbb49ab19d2628ee9f9fa55..7565f8af03059c67cc62507d4557722d9fbbe5de 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright, the authors of the Linux man-pages project
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-set -Eeuo pipefail;
+set -Eefuo pipefail;
 
 
 if test $# -lt 1; then
index 8818f932b5b5c82288ad0ecaed4b34d49f52ec00..304a11ad286713333d6be799e7945f7837bde158 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright, the authors of the Linux man-pages project
 # SPDX-License-Identifier: GPL-3.0-or-later
 
-set -Eeuo pipefail;
+set -Eefuo pipefail;
 shopt -s lastpipe;
 
 printf '%s\n' "${!#}.XXXXXX" \