diff options
Diffstat (limited to 'bash/helpers/common/fperms')
-rwxr-xr-x | bash/helpers/common/fperms | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bash/helpers/common/fperms b/bash/helpers/common/fperms new file mode 100755 index 00000000..8883c982 --- /dev/null +++ b/bash/helpers/common/fperms @@ -0,0 +1,9 @@ +#!/usr/bin/env pkgcore-ebuild-helper +# Copyright: 2011 Brian Harring <ferringb@gmail.com> +# License: GPL2/BSD 3 clause + +# at least two args are required- the owner/group chunk, and the target +check_args 2 - + +# pathway must be absolute. +check_command chmod "${@/#\//${ED}/}" |