File: testenv_rel

package info (click to toggle)
dlib 19.24%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 284,176 kB
  • sloc: cpp: 316,461; xml: 26,260; python: 1,628; sh: 356; java: 229; makefile: 179; javascript: 73; perl: 18
file content (24 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#/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