Home | History | Annotate | Download | only in config

Lines Matching defs:sq

78 # escape-for-shell-sq
80 # Usage: embeddable-text = $(call escape-for-shell-sq,text)
86 escape-for-shell-sq = $(subst ','\'',$(1))
88 # shell-sq
90 # Usage: single-quoted-and-escaped-text = $(call shell-sq,text)
92 shell-sq = '$(escape-for-shell-sq)'
124 # produces the same results as the `$(shell-sq)' function.
126 shell-wordify = $(if $(findstring $(newline),$(1)),$(_sw-esc-nl),$(shell-sq))
128 "$$(echo $(call escape-nl,$(shell-sq),$(2)) | $(call shell-unescape-nl,$(2)))"
135 is-absolute = $(shell echo $(shell-sq) | grep ^/ -q && echo y)
145 _l-sh = $(call shell-sq,command -v $(shell-sq) | $(call shell-escape-nl,))
154 is-executable = $(call _is-executable-helper,$(shell-sq))
156 _is-executable-sh = $(call shell-sq,test -f $(1) -a -x $(1) && echo y)