mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
b97a64ed7f
things really needed by makedocs. Things needed by makerel are now in their own check. Also switched to unix2dos instead of unsing flip since unix2dos is more common. --HG-- rename : docs/testenv => docs/testenv_rel
25 lines
434 B
Plaintext
Executable File
25 lines
434 B
Plaintext
Executable File
#/bin/sh
|
|
#
|
|
#This script checks to make sure all the commands we need are
|
|
#present
|
|
|
|
return_error()
|
|
{
|
|
echo "Error, can't run the $1 command"
|
|
exit 1
|
|
}
|
|
|
|
./testenv
|
|
|
|
echo Testing environment for needed release building utilities
|
|
|
|
|
|
#flip -h > /dev/null || return_error "flip";
|
|
unix2dos -h &> /dev/null || return_error "unix2dos";
|
|
wine --help &> /dev/null || return_error "wine";
|
|
|
|
|
|
echo All needed utilities found
|
|
exit 0
|
|
|