diff --git a/mail/sendmail/setmailer.sh b/mail/sendmail/setmailer.sh index 29a0a3248..8dcaf2179 100644 --- a/mail/sendmail/setmailer.sh +++ b/mail/sendmail/setmailer.sh @@ -3,7 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../sendmail/setmailer.sh -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -17,7 +17,7 @@ prefix=$( cd ${0%/*}/..; pwd -P ) for x in sendmail mailq newaliases; do echo "$0: Re-creating /usr/bin/$x -> ${x}_@mailer@ ..." - echo -e "#!/bin/sh\nexec -a $x ${x}_@mailer@ \"\$@\"" > $prefix/bin/$x + echo -e "#!/bin/sh\nexec -a $prefix/sbin/$x ${x}_@mailer@ \"\$@\"" > $prefix/bin/$x chmod +x $prefix/bin/$x done