]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdebfiles
r1539: fix tag name
[debhelper.git] / dh_installdebfiles
index 8b1e09620a70adb33eb3e6107ddd7c2790a22ae6..72c17bccca3cbe09342834b46439ecbcc094b3e0 100755 (executable)
@@ -1,12 +1,15 @@
-#!/bin/sh -e
+#!/usr/bin/perl -w
 #
-# This program is depricated, but left in the package for backwards
+# 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/share/debhelper" }
+use Dh_Lib;
 
-echo "* Note: dh_installdebfiles is depricated." >&2
+$ENV{PATH}="debian:$ENV{PATH}:/usr/share/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);