]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_testroot
r421: use strict
[debhelper.git] / dh_testroot
index 6f9be362dc777dbf0c95e4787a5962f0f5f76ea8..9192f853853dad73fb5587cf8e7a3a89ca75fd88 100755 (executable)
@@ -2,10 +2,9 @@
 #
 # Checks to make sure you are root.
 
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
-init();
+use strict;
+use Debian::Debhelper::Dh_Lib;
 
 if ($< != 0) {
-       error("You must run this as root.");
+       error("You must run this as root (or use fakeroot).");
 }