From 938b66ee19e113785e6655b1c3e73e9003e6464c Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 04:12:54 +0000 Subject: r1: Initial revision --- dh_testdir | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 dh_testdir (limited to 'dh_testdir') diff --git a/dh_testdir b/dh_testdir new file mode 100755 index 00000000..4d3c700b --- /dev/null +++ b/dh_testdir @@ -0,0 +1,14 @@ +#!/bin/sh -e +# +# Checks to make sure we are building the package in the right directory. +# Tests for the existance of debian/control, and for the existance +# of any other files you specify on the command line. + +PATH=debian:$PATH:/usr/lib/debhelper +source dh_lib + +for file in debian/control $@; do + if [ ! -e "$file" ] ; then + error "\"$file\" not found. Are you sure you are in the correct directory?" + fi +done -- cgit v1.2.3