Mercurial > hg > aboriginal
comparison 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 |
comparison
equal
deleted
inserted
replaced
1287:7862497b28e0 | 1288:c054a7a36cd9 |
---|---|
1 #!/bin/sh | |
2 | |
3 /mnt/build/generic-check.sh | |
4 | |
5 # Create lex wrapper | |
6 | |
7 cat > /usr/bin/lex << 'EOF' && | |
8 #!/bin/sh | |
9 | |
10 exiec /usr/bin/flex -l "$@" | |
11 EOF | |
12 chmod 755 /usr/bin/lex || exit 1 | |
13 | |
14 if [ ! -z "$DOCS" ] | |
15 then | |
16 mkdir /usr/share/doc/flex && | |
17 cp doc/flex.pdf /usr/share/doc/flex | |
18 fi |