Mercurial > hg > aboriginal
diff sources/control-images/lfs-bootstrap/mnt/build/flex.sh @ 1288:c054a7a36cd9
Add rather a lot of Linux From Scratch 6.7 building infrastructure. Needs a bit more debugging.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 17 Nov 2010 22:09:19 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/control-images/lfs-bootstrap/mnt/build/flex.sh Wed Nov 17 22:09:19 2010 -0600 @@ -0,0 +1,18 @@ +#!/bin/sh + +/mnt/build/generic-check.sh + +# Create lex wrapper + +cat > /usr/bin/lex << 'EOF' && +#!/bin/sh + +exiec /usr/bin/flex -l "$@" +EOF +chmod 755 /usr/bin/lex || exit 1 + +if [ ! -z "$DOCS" ] +then + mkdir /usr/share/doc/flex && + cp doc/flex.pdf /usr/share/doc/flex +fi