Rename setexec to chexec.
[utils/utils.git] / cleanexec
... / ...
CommitLineData
1#!/bin/bash
2if file "$1" | grep -q executable; then
3 chexec + "$1"
4else
5 chexec - "$1"
6fi