Allow any errors from save_ebuild_env() to go to stderr instead of
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Nov 2007 22:23:48 +0000 (22:23 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Nov 2007 22:23:48 +0000 (22:23 -0000)
directing them to /dev/null. (trunk r8607)

svn path=/main/branches/2.1.2/; revision=8608

bin/ebuild.sh

index 8ad15241d260ac05835998218620b4cfe0eeee9a..20d08e3e3ddf2e9661ca202732a9d947225cf5c9 100755 (executable)
@@ -1796,7 +1796,7 @@ if [ -n "${EBUILD_SH_ARGS}" ] && \
        ! hasq ${EBUILD_SH_ARGS} clean help info; then
        # Save current environment and touch a success file. (echo for success)
        umask 002
-       save_ebuild_env > "${T}/environment" 2>/dev/null
+       save_ebuild_env > "${T}/environment"
        chown portage:portage "${T}/environment" &>/dev/null
        chmod g+w "${T}/environment" &>/dev/null
 fi