소스 검색

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

Pi 1 년 전
부모
커밋
3680ae9a5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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