diff options
author | joey <joey> | 1999-10-28 06:05:18 +0000 |
---|---|---|
committer | joey <joey> | 1999-10-28 06:05:18 +0000 |
commit | 21ebee67467d895cb246b83c59976b6fbd21b143 (patch) | |
tree | ed8cf4b9a944ca667b73d6c878dc990484163ae3 /dh_testroot | |
parent | ce345636461e05dc52b74ad41b8049c2349c9f12 (diff) | |
download | debhelper-21ebee67467d895cb246b83c59976b6fbd21b143.tar.gz |
r297: removed obsolete comment.
Diffstat (limited to 'dh_testroot')
-rwxr-xr-x | dh_testroot | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dh_testroot b/dh_testroot index fcc9b474..6f9be362 100755 --- a/dh_testroot +++ b/dh_testroot @@ -1,10 +1,11 @@ -#!/bin/sh -e +#!/usr/bin/perl -w # # Checks to make sure you are root. -PATH=debian:$PATH:/usr/lib/debhelper -source dh_lib +BEGIN { push @INC, "debian", "/usr/share/debhelper" } +use Dh_Lib; +init(); -if [ "`whoami`" != root ]; then - error "You must run this as root." -fi +if ($< != 0) { + error("You must run this as root."); +} |