mirror of
https://github.com/notwa/rc
synced 2024-11-05 05:49:02 -08:00
squeeze a couple lines
This commit is contained in:
parent
be7552f77f
commit
575baa13cf
1 changed files with 2 additions and 4 deletions
|
@ -45,8 +45,7 @@ permit() { ### @- conditionally set executable permissions on each of its argume
|
|||
(/\?|-h|-help|--help)
|
||||
printf 'usage: permit %s\n' "$__permit_h"
|
||||
return 0;;
|
||||
(--)
|
||||
__permit_stop=1;;
|
||||
(--) __permit_stop=1;;
|
||||
(-?*)
|
||||
while __permit_f="${__permit_f#?}"; [ -n "$__permit_f" ]; do
|
||||
case "${__permit_f}" in
|
||||
|
@ -64,8 +63,7 @@ permit() { ### @- conditionally set executable permissions on each of its argume
|
|||
return 64;;
|
||||
esac
|
||||
done;;
|
||||
(*)
|
||||
set -- "$@" "$__permit_f";;
|
||||
(*) set -- "$@" "$__permit_f";;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue