Import updates to some utilities that were sitting in my personal bin
[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