mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
The last commit introduced a Travis failure.
Only on the OS X travis build. I can't reproduce it but I figure it's something to do with test -e vs test -x or the echo -n in command substitution. Oops.
This commit is contained in:
parent
43515e1298
commit
7e0e745958
|
@ -2,7 +2,7 @@
|
|||
# Alias for gettext (or a fallback if gettext isn't installed)
|
||||
#
|
||||
set -l gettext_path (command -v gettext)
|
||||
if test -e (echo -n $gettext_path)
|
||||
if test -x (echo $gettext_path)
|
||||
function _ --description "Alias for the gettext command"
|
||||
command gettext fish $argv
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user