summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-12 10:37:33 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-12 10:37:33 +0000
commitec283131ed7c967b345de2f36849bd64e424c94c (patch)
tree69ddd43eac3908229e7665ee64840c0889220e7e
parent8f741f731de86848d753c5e2a2e28de4f635138f (diff)
downloadflex-ec283131ed7c967b345de2f36849bd64e424c94c.tar.gz
Add permissions
-rw-r--r--flex.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/flex.morph b/flex.morph
index c9f8161..9f033eb 100644
--- a/flex.morph
+++ b/flex.morph
@@ -12,6 +12,7 @@
"make install",
"ln -sv libfl.a \"$DESTDIR/usr/lib/libl.a\"",
"echo '#!/bin/sh' >\"$DESTDIR/usr/bin/lex\"",
- "echo 'exec /usr/bin/flex -l \"$@\"' >>\"$DESTDIR/usr/bin/lex\""
+ "echo 'exec /usr/bin/flex -l \"$@\"' >>\"$DESTDIR/usr/bin/lex\"",
+ "chmod -v 755 \"$DESTDIR/usr/bin/lex\""
]
}