summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2015-12-02 00:06:42 +0000
committerAaron Crane <arc@cpan.org>2015-12-02 11:12:55 +0000
commit7a4fcb3f64df51eacf89f69a4bf76386aea1e8e3 (patch)
tree88aaaba6282bebf9a40f894554f80a6dcfcc4144 /Configure
parent7175d769b8a61b190222d193511702b1a312a325 (diff)
downloadperl-7a4fcb3f64df51eacf89f69a4bf76386aea1e8e3.tar.gz
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.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 07f0bc1201..54a77823b0 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