summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-02 17:46:05 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-02 17:46:05 +0000
commitd55789a5cb87f7ec8863daeaed1d5e29585329c7 (patch)
treeb75cc047bcac7811bfce01e5f46bec03df3fcfa9
parent2b0724d85a5ce00ad7321973d359199521a8e14f (diff)
downloadportage-d55789a5cb87f7ec8863daeaed1d5e29585329c7.tar.gz
portage-d55789a5cb87f7ec8863daeaed1d5e29585329c7.tar.bz2
portage-d55789a5cb87f7ec8863daeaed1d5e29585329c7.zip
Fix typo in emerge-webrsync PORTAGE_NICENESS handling for bug #124621 (regression from r2623).
svn path=/main/trunk/; revision=2805
-rwxr-xr-xbin/emerge-webrsync8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index 2173ecd95..5f8aa67f0 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -5,10 +5,10 @@
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
# Rewritten from the old, Perl-based emerge-webrsync script
-if [ -z "$PULLED_NICENESS" ]; then
- PULLED_NICENESS="$(/usr/lib/portage/bin/portageq envvar PORTAGE_NICENESS)"
- if [ -n "$PULLED_NICENESS" ]; then
- export PULLED_NICENESS
+if [ -z "$PORTAGE_NICENESS" ]; then
+ PORTAGE_NICENESS="$(/usr/lib/portage/bin/portageq envvar PORTAGE_NICENESS)"
+ if [ -n "$PORTAGE_NICENESS" ]; then
+ export PORTAGE_NICENESS
exec nice -n $PORTAGE_NICENESS "$0" "$@"
echo "failed pulling PORTAGE_NICENESS, disabling"
fi