ebuild.sh: remove unused PWORKDIR variable
authorZac Medico <zmedico@gentoo.org>
Mon, 21 Feb 2011 16:17:09 +0000 (08:17 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 21 Feb 2011 16:17:09 +0000 (08:17 -0800)
bin/ebuild.sh
bin/isolated-functions.sh

index 1764da1fff1d309a892ba2fad61ceb579eedef3b..59bf46e918ada69bc8ab72568eeb02b68b65a2c1 100755 (executable)
@@ -1152,9 +1152,6 @@ dyn_install() {
        #our custom version of libtool uses $S and $D to fix
        #invalid paths in .la files
        export S D
-       #some packages uses an alternative to $S to build in, cause
-       #our libtool to create problematic .la files
-       export PWORKDIR="$WORKDIR"
 
        # Reset exeinto(), docinto(), insinto(), and into() state variables
        # in case the user is running the install phase multiple times
@@ -2244,9 +2241,6 @@ ebuild_main() {
                        #our custom version of libtool uses $S and $D to fix
                        #invalid paths in .la files
                        export S D
-                       #some packages use an alternative to $S to build in, cause
-                       #our libtool to create problematic .la files
-                       export PWORKDIR=$WORKDIR
 
                        ;;
                esac
index f89c11ed5653d60aa3dc98910cc8cefd5ac47870..b5bb73adc3d5ffbbd3ded1bdffa6f0de83b44c8a 100644 (file)
@@ -602,7 +602,7 @@ save_ebuild_env() {
                        PORTAGE_BASHRCS_SOURCED PORTAGE_NONFATAL PORTAGE_QUIET \
                        PORTAGE_SANDBOX_DENY PORTAGE_SANDBOX_PREDICT \
                        PORTAGE_SANDBOX_READ PORTAGE_SANDBOX_WRITE PREROOTPATH \
-                       PWORKDIR QA_INTERCEPTORS \
+                       QA_INTERCEPTORS \
                        RC_DEFAULT_INDENT RC_DOT_PATTERN RC_ENDCOL RC_INDENTATION  \
                        ROOT ROOTPATH RPMDIR TEMP TMP TMPDIR USE_EXPAND \
                        WARN XARGS _RC_GET_KV_CACHE