summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index c5dbed9f..b230b786 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -341,7 +341,10 @@ handledeps() {
fi
# we might need the new system environment
+ # set -e can cause problems during sourcing profile scripts
+ set +e
source /etc/profile &>/dev/null
+ set -e
return $R_DEPS_SATISFIED
}