From f2c4becde72bd61e46255ec2af62c5bc71ba9b7d Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 25 Jan 2006 04:08:50 +1000 Subject: [PATCH] Add better test for whether the gettext command should be used darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz --- init/fish.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/fish.in b/init/fish.in index 389b70dc6..15808f8cd 100644 --- a/init/fish.in +++ b/init/fish.in @@ -77,7 +77,7 @@ end # used by other init files. # -if which gettext >/dev/null ^/dev/null +if test 1 = "@HAVE_GETTEXT@"; and which gettext >/dev/null ^/dev/null function _ -d "Alias for the gettext command" gettext fish $argv end