Last change
on this file since 394 was 347, checked in by roby, 3 years ago |
Aggiornamento per compatibilità con php7.4
|
File size:
311 bytes
|
Rev | Line | |
---|
[347] | 1 | #!/usr/bin/env bash
|
---|
| 2 |
|
---|
| 3 | cd "$( dirname "${BASH_SOURCE[0]}" )"
|
---|
| 4 |
|
---|
| 5 | rm -f *.pdf
|
---|
| 6 |
|
---|
| 7 | cd ../examples
|
---|
| 8 | for PHP_SCRIPT in $(ls ./*.php);
|
---|
| 9 | do
|
---|
| 10 | PDF_FILE=`echo "$PHP_SCRIPT" | sed 's/\.php/\.pdf/g' | sed 's/\.\//\.\.\/test\//g'`
|
---|
| 11 | echo "Example $PHP_SCRIPT => $PDF_FILE"
|
---|
| 12 | php $PHP_SCRIPT > $PDF_FILE
|
---|
| 13 | done
|
---|
| 14 |
|
---|
| 15 | cd ../test
|
---|
| 16 | ls -l
|
---|
Note:
See
TracBrowser
for help on using the repository browser.