summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 39983fcd..76b9322a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -447,9 +447,6 @@ run_function() {
msg "$(gettext "Starting %s()...")" "$pkgfunc"
cd_safe "$srcdir"
- # save our shell options so pkgfunc() can't override what we need
- local shellopts=$(shopt -p)
-
local ret=0
if (( LOGGING )); then
local fullver=$(get_full_version)
@@ -479,8 +476,6 @@ run_function() {
else
"$pkgfunc"
fi
- # reset our shell options
- eval "$shellopts"
}
run_prepare() {