summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
committerSimon Stelling <blubb@gentoo.org>2006-04-15 18:42:28 +0000
commitd68ec90157a963f3483c09915b1844ee43b4ac77 (patch)
tree6553f68fc4267b99784f10fb2fe03a3454505eef /bin/quickpkg
parentsome more hasq fixes (diff)
downloadportage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz
portage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2
portage-multirepo-d68ec90157a963f3483c09915b1844ee43b4ac77.zip
`` must die
svn path=/main/trunk/; revision=3155
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index abb3d294..61b09a60 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -9,7 +9,7 @@
# Resulting tbz2 file will be created in ${PKGDIR} ...
# default is /usr/portage/packages/All/
-if [ "`whoami`" != "root" ] ; then
+if [ "${UID}" != "0" ] ; then
echo "You must run this as root"
exit 1
fi