Matt McCutchen's Web Site
/
utils
/
utils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c39e465251df386a5bcc786009650be4dc429e10
[utils/utils.git]
/
cleanexec
1
#!/bin/bash
2
if file "$1" | grep -q executable; then
3
chexec + "$1"
4
else
5
chexec - "$1"
6
fi