mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 12:43:14 +00:00
Fix here-document warning.
Fixes "warning: here-document at line XX delimited by end-of-file (wanted `EOF')".
This commit is contained in:
@@ -40,5 +40,6 @@ script=$(cat <<'EOF'
|
||||
$toc = '---' . "\n\n" . $toc . "\n\n" . '---' . "\n\n";
|
||||
$data = preg_replace('/---\n\n(?:- .*\n)+?\n---\n\n/', $toc, $data);
|
||||
file_put_contents('README.md', $data);
|
||||
EOF)
|
||||
EOF
|
||||
)
|
||||
php --run "${script}"
|
||||
|
||||
Reference in New Issue
Block a user