From: Zac Medico Date: Thu, 6 Dec 2007 23:37:27 +0000 (-0000) Subject: Declare retval as a local variable. X-Git-Tag: v2.2_pre1~215 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=58e8333dac495b3ddc96fb1be2720cafa541652f;p=portage.git Declare retval as a local variable. svn path=/main/trunk/; revision=8859 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index c40403264..f1d42bd01 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1464,6 +1464,7 @@ preprocess_ebuild_env() { save_ebuild_env || exit $? touch "${T}/environment.success" || exit $? ) | filter_readonly_variables > "${T}/environment.filtered" + local retval if [ -e "${T}/environment.success" ] ; then mv "${T}/environment.filtered" "${T}/environment" retval=$?