Project

General

Profile

« Previous | Next » 

Revision 13177

lib/sh/util.sh: added is_world_executable()

View differences:

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