summaryrefslogtreecommitdiffstats
path: root/bin/quickpkg
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
parent1b7e9bacc284926b12a4d64a288d373de8b1708f (diff)
downloadportage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz
portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2
portage-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 abb3d2941..61b09a609 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