~chambln/dots

b189dfab14292c74923020bb853b22c604e5d261 — Gregory Chamberlain 7 days ago 0f39c5b
Add note on portability of test -ef
1 files changed, 3 insertions(+), 0 deletions(-)

M stow/bin/stow
M stow/bin/stow => stow/bin/stow +3 -0
@@ 1,4 1,7 @@
#!/bin/sh -u
# Unstowing (-D) requires the '-ef' option in test(1) which is not
# specified by POSIX but is present nontheless in most Bourne shells
# including bash(1), dash(1) and ksh(1).

die() {
	printf '%s: %s\n' "${0##*/}" "${1-Usage: ${0##*/} [-Dhv] [-t TARGET] PACKAGE...}" >&2