On 19/12/14 23:22, [email protected] wrote: > From: Timothy Redaelli <[email protected]> > > --- > scripts/makepkg.sh.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in > index 33dff245..b4577f10 100644 > --- a/scripts/makepkg.sh.in > +++ b/scripts/makepkg.sh.in > @@ -3435,7 +3435,7 @@ CARCH=${_CARCH:-$CARCH} > if (( ! INFAKEROOT )); then > if (( EUID == 0 )); then > error "$(gettext "Running %s as root is not allowed as it can > cause permanent,\n\ > -catastrophic damage to your system.")" > +catastrophic damage to your system.")" "$0" > exit 1 # $E_USER_ABORT > fi > else >
I modified this to just use "makepkg" rather than $0.
