In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/7a4fcb3f64df51eacf89f69a4bf76386aea1e8e3?hp=7175d769b8a61b190222d193511702b1a312a325>

- Log -----------------------------------------------------------------
commit 7a4fcb3f64df51eacf89f69a4bf76386aea1e8e3
Author: Aaron Crane <a...@cpan.org>
Date:   Wed Dec 2 00:06:42 2015 +0000

    Configure: unbreak -S option now that -O is the default
    
    As far as I can tell, using the -S and -O options together has always
    yielded an error of this form:
    
        Configure: 2042: .: Can't open ./optdef.sh
    
    That's because, even though optdef.sh is created in the UU directory, and
    most of Configure is run in that directory, part of the -S implementation is
    run in the root directory, and was therefore trying to read ./optdef.sh
    instead of ./UU/optdef.sh.
    
    As of 41d73075f0801c26794dadb1ff690f305d7e53a7, the -O mode is always
    enabled, so the -S option has been broken since then. This fixes that.
-----------------------------------------------------------------------

Summary of changes:
 Configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configure b/Configure
index 07f0bc1..54a7782 100755
--- a/Configure
+++ b/Configure
@@ -2039,7 +2039,7 @@ true)
        echo "Fetching answers from $config_sh..."
        cd ..
        . $config_sh
-       . ./optdef.sh
+       . UU/optdef.sh
        echo " "
        . UU/extract
        rm -rf UU

--
Perl5 Master Repository

Reply via email to