diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-19 10:55:28 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-19 10:55:28 +0000 |
commit | 280053c513f952a97c94f84c017ca36d631aa1cd (patch) | |
tree | 4d68c2b97c9a95dc78ff8192579591f89a6c117e /baserock-bootstrap | |
parent | 8310a724bdef295536912d8ca6e256177a7de707 (diff) | |
download | morph-280053c513f952a97c94f84c017ca36d631aa1cd.tar.gz |
bootstrap: convert double slash to single
pwd may be just /, at which point LFS begins with //
Python's distutils fails to compile when --prefix is //tree/tools
and --root is given as it installs to //tree/tools but tries to
compile files in --root.
This works without the double slash, so fix it
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-x | baserock-bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap index 7628ccb7..3e2e057f 100755 --- a/baserock-bootstrap +++ b/baserock-bootstrap @@ -7,6 +7,7 @@ set -u BASEDIR=$(dirname $(readlink -f $0)) LFS="$(pwd)/tree" +LFS="${LFS/\/\//\/}" tools="$LFS/tools" buildwhat="$1" |