Revision 13177
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
1167 | 1167 |
test "$(find "$1" -maxdepth 0 -perm "$perms")" |
1168 | 1168 |
} |
1169 | 1169 |
|
1170 |
is_world_executable() { echo_func; perms=-o=x has_perms "$1"; } # -: all bits |
|
1170 | 1171 |
|
1172 |
|
|
1171 | 1173 |
#### URLs |
1172 | 1174 |
|
1173 | 1175 |
localize_url() { test _"$1" = _"$(hostname -f)" || echo "$1"; } |
Also available in: Unified diff
lib/sh/util.sh: added is_world_executable()