summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-12-29 02:11:32 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-22 13:27:01 -0300
commit4346df8fafba75d8565b1c0187f7b3b4ca4e9b75 (patch)
tree6d7f3c0f77848c1bd5c1d902c6767a1fb14e830e /Configure
parentb36f1e2d025f7ad7403181e043d526ab916325d3 (diff)
downloadperl-4346df8fafba75d8565b1c0187f7b3b4ca4e9b75.tar.gz
Configure: Minor improvements to the building on the host miniperl
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure16
1 files changed, 9 insertions, 7 deletions
diff --git a/Configure b/Configure
index 41a4212174..597eb08842 100755
--- a/Configure
+++ b/Configure
@@ -2877,16 +2877,18 @@ $define|true|[yY]*)
: compile a host miniperl and generate_uudmap, unless we got passed them
if $test "X$hostperl" = X; then
echo "Building host miniperl and generate_uudmap binaries" >&4
+ before_host=`pwd`
cd ..
- test -d host || mkdir host
- cd host && rm -rf ./*
- ../Configure -des -Dusedevel -Dmksymlinks
+ cd $src
+ src=`pwd`
+ test -d $src/host || mkdir $src/host
+ cd $src/host && rm -rf ./*
+ $src/Configure -des -Dusedevel -Dmksymlinks
make miniperl
make generate_uudmap
- hostperl=host/miniperl
- hostgenerate=host/generate_uudmap
- cd ..
- cd UU
+ hostperl=$src/host/miniperl
+ hostgenerate=$src/host/generate_uudmap
+ cd $before_host
fi
hostosname=`$hostperl -le 'print $^O'`
;;