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