2013-01-24 08:42:06 +08:00
|
|
|
#/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";
|
2016-08-13 21:37:19 +08:00
|
|
|
#wine --help &> /dev/null || return_error "wine";
|
2013-01-24 08:42:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
echo All needed utilities found
|
|
|
|
exit 0
|
|
|
|
|