3 # Checks to make sure we are building the package in the right directory.
4 # Tests for the existance of debian/control, and for the existance
5 # of any other files you specify on the command line.
7 PATH=debian:$PATH:/usr/lib/debhelper
10 for file in debian/control $@; do
11 if [ ! -e "$file" ] ; then
12 error "\"$file\" not found. Are you sure you are in the correct directory?"