mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 00:23:30 +00:00
THis fix make the script fully POSIX-compliant for FreeBSD /bin/sh Replace bash-specific `read -d ''` with tmpfile approach. The -d option is not available in POSIX sh, causing the script to fail on FreeBSD systems. - Use tmpfile=$(mktemp) instead of null-delimited pipe - Add trap for cleanup - Remove -print0 and read -d '' options - Add empty filename safety check Fixes: read: Illegal option -d |
||
|---|---|---|
| .. | ||
| part1 | ||
| part2 | ||
| part3 | ||
| part4 | ||
| part5 | ||
| part6 | ||
| part7 | ||