summaryrefslogtreecommitdiff
path: root/dh_installdebfiles
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:03:41 +0000
committerjoey <joey>1999-08-17 05:03:41 +0000
commit0eaafbd7e25e0d2fad5869ee65b6080b88c49c80 (patch)
treec6869b3cc251ac849c11c16daded56a2c729ca24 /dh_installdebfiles
parent1e5ea4d0567b63073061c867062043c4327e62a1 (diff)
downloaddebhelper-0eaafbd7e25e0d2fad5869ee65b6080b88c49c80.tar.gz
r137: Initial Import
Diffstat (limited to 'dh_installdebfiles')
-rwxr-xr-xdh_installdebfiles15
1 files changed, 9 insertions, 6 deletions
diff --git a/dh_installdebfiles b/dh_installdebfiles
index d999c91b..cd4562ea 100755
--- a/dh_installdebfiles
+++ b/dh_installdebfiles
@@ -1,12 +1,15 @@
-#!/bin/sh -e
+#!/usr/bin/perl -w
#
# This program is deprecated, but left in the package for backwards
# compatability. It simply calls the 3 programs that replaced it.
-PATH=debian:$PATH:/usr/lib/debhelper
+BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
+use Dh_Lib;
-echo "dh_installdebfiles: use of this program is deprecated, see man page." >&2
+$ENV{PATH}="debian:$ENV{PATH}:/usr/lib/debhelper";
-dh_installdeb $*
-dh_shlibdeps $*
-dh_gencontrol $*
+warning("use of this program is deprecated, see man page.");
+
+doit("dh_installdeb",@ARGV);
+doit("dh_shlibdeps",@ARGV);
+doit("dh_gencontrol",@ARGV);