diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-19 11:13:11 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-19 11:13:11 +0000 |
commit | 95cd93756e81102e50d398f2daf85bab92036a8c (patch) | |
tree | 44a0899b33c6c1cf32d5354f3ed4aa4cc1ea47cc /baserock-bootstrap | |
parent | 280053c513f952a97c94f84c017ca36d631aa1cd (diff) | |
download | morph-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-x | baserock-bootstrap | 2 |
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" |