]> git.donarmstrong.com Git - debhelper.git/blob - dh_testroot
r332: * dh_testroot: don't call init(), so it may be run even if it's not in the
[debhelper.git] / dh_testroot
1 #!/usr/bin/perl -w
2 #
3 # Checks to make sure you are root.
4
5 BEGIN { push @INC, "debian", "/usr/share/debhelper" }
6 use Dh_Lib;
7
8 if ($< != 0) {
9         error("You must run this as root.");
10 }