Browse Source

use makemime native fd reference - still doesn't work with -m :(

Pi 1 year ago
parent
commit
3680ae9a5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cropswap-debug.sh

+ 1 - 1
cropswap-debug.sh

@@ -11,7 +11,7 @@ if (( TEST != 0)); then
 	$(env)
 	EOF
 else
-	makemime -j /proc/self/fd/{4,5} 4< <(cat -) 5<<-EOF | "$SENDMAIL" -F "${FROM:-}" -f "${MAILGROUP:-}" "${CROPSWAPDEBUG}"
+	makemime -j "&4" "&5" 4< <(cat -) 5<<-EOF | "$SENDMAIL" -F "${FROM:-}" -f "${MAILGROUP:-}" "${CROPSWAPDEBUG}"
 	Content-Type: text/plain; charset="utf-8"
 	Content-Disposition: attachment