When copying packageManager.xml, use a sed to replace BOOK with $BOOK
This allows loading entities from the lfs book
This commit is contained in:
parent
959319749e
commit
5a965adf4f
1 changed files with 2 additions and 1 deletions
3
jhalfs
3
jhalfs
|
@ -411,7 +411,8 @@ if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
|
||||||
|
|
||||||
# Copy packageManager.xml, if needed
|
# Copy packageManager.xml, if needed
|
||||||
[[ "$PKGMNGT" = "y" ]] && [[ "$PROGNAME" = "lfs" ]] && {
|
[[ "$PKGMNGT" = "y" ]] && [[ "$PROGNAME" = "lfs" ]] && {
|
||||||
cp "$PKGMNGTDIR/packageManager.xml" "$JHALFSDIR/"
|
sed s@BOOK@"$BOOK"@ "$PKGMNGTDIR/packageManager.xml" > \
|
||||||
|
"$JHALFSDIR/"packageManager.xml
|
||||||
cp "$PKGMNGTDIR/packInstall.sh" "$JHALFSDIR/"
|
cp "$PKGMNGTDIR/packInstall.sh" "$JHALFSDIR/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue