jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzoutputpkgdest: don't mix make and qmake
For outputting DESTDIR=, we need to test whether the text contains "make". But when it contains "qmake" (or any different word containing "make" but not exactly "make), we don't want to output anything more than the text. So strengthen the test.
BLFS/xsl/scripts.xsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index d5d0fa3..78f61ad 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -944,7 +944,8 @@ echo Size after install: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG <xsl:template name="outputpkgdest"> <xsl:param name="outputstring" select="'foo'"/> <xsl:choose> - <xsl:when test="contains($outputstring,'make ')"> + <xsl:when test="contains(normalize-space($outputstring),' make ') or + starts-with($outputstring, 'make ')"> <xsl:choose> <xsl:when test="not(starts-with($outputstring,'make'))"> <xsl:call-template name="outputpkgdest">