docs/testenv_rel
raw| 1 | #/bin/sh |
| 2 | # |
| 3 | #This script checks to make sure all the commands we need are |
| 4 | #present |
| 5 | |
| 6 | return_error() |
| 7 | { |
| 8 | echo "Error, can't run the $1 command" |
| 9 | exit 1 |
| 10 | } |
| 11 | |
| 12 | ./testenv |
| 13 | |
| 14 | echo Testing environment for needed release building utilities |
| 15 | |
| 16 | |
| 17 | #flip -h > /dev/null || return_error "flip"; |
| 18 | unix2dos -h &> /dev/null || return_error "unix2dos"; |
| 19 | #wine --help &> /dev/null || return_error "wine"; |
| 20 | |
| 21 | |
| 22 | echo All needed utilities found |
| 23 | exit 0 |
| 24 |