summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-19 11:13:11 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-19 11:13:11 +0000
commit95cd93756e81102e50d398f2daf85bab92036a8c (patch)
tree44a0899b33c6c1cf32d5354f3ed4aa4cc1ea47cc /baserock-bootstrap
parent280053c513f952a97c94f84c017ca36d631aa1cd (diff)
downloadmorph-95cd93756e81102e50d398f2daf85bab92036a8c.tar.gz
bootstrap: fix lfs substitution
bash variable expansion behaves a little differently to sed the final section's / are not treated specially
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index 3e2e057f..4e43a118 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -7,7 +7,7 @@ set -u
BASEDIR=$(dirname $(readlink -f $0))
LFS="$(pwd)/tree"
-LFS="${LFS/\/\//\/}"
+LFS="${LFS/\/\///}"
tools="$LFS/tools"
buildwhat="$1"