view images/lfs-bootstrap/mnt/build/flex.sh @ 0:bcd2e358d57f

Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author Rob Landley <rob@landley.net>
date Sun, 03 Jul 2011 17:23:26 -0500
parents
children
line wrap: on
line source

#!/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