Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/checkpkg.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-08-31 23:49:01 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-09-01 23:40:21 +0200
commitfcaf3ecec0f835cc480fdeb653d33754b0de7624 (patch)
treebfa2e2bf75385cc041fc36233205ea6a9be35087 /src/checkpkg.in
parent280ef10d37e88a9a60d1a4406fc511d09acc3fad (diff)
fix: do not set extglob globally to avoid side-effects
Instead only enable it for whatever operation requires them. Example sides effects: commitpkg can accidently execute PKGBUILD functions when sourcing the PKGBUILD that has function names like package_libsigc++() Fixes #87
Diffstat (limited to 'src/checkpkg.in')
-rw-r--r--src/checkpkg.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/checkpkg.in b/src/checkpkg.in
index 1a7983c..fe5b71a 100644
--- a/src/checkpkg.in
+++ b/src/checkpkg.in
@@ -2,8 +2,6 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
-shopt -s extglob
-
m4_include(lib/common.sh)
usage() {