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 }