summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-19 10:55:28 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-19 10:55:28 +0000
commit280053c513f952a97c94f84c017ca36d631aa1cd (patch)
tree4d68c2b97c9a95dc78ff8192579591f89a6c117e /baserock-bootstrap
parent8310a724bdef295536912d8ca6e256177a7de707 (diff)
downloadmorph-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-xbaserock-bootstrap1
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"