From 819d09a251de910dfa1afc421d5d8d57c3f5fcb0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 May 2013 14:20:17 -0400 Subject: Deal with unix^wlinux portability nonsense. --- update-ignore.d/01update-ignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update-ignore.d/01update-ignore') diff --git a/update-ignore.d/01update-ignore b/update-ignore.d/01update-ignore index 18520dc..7b2de72 100755 --- a/update-ignore.d/01update-ignore +++ b/update-ignore.d/01update-ignore @@ -171,9 +171,9 @@ if [ -e "$file" ]; then fi fi realfile="$file" - if which tempfile >/dev/null 2>&1; then + if which tempfile >/dev/null 2>&1 || type -p tempfile >/dev/null 2>&1; then tempfile="tempfile" - elif which mktemp >/dev/null 2>&1; then + elif which mktemp >/dev/null 2>&1 || type -p mktemp >/dev/null 2>&1; then tempfile="mktemp" else echo "etckeeper warning: can't find tempfile or mktemp" >&2 -- cgit v1.2.3