Do not fail if Makefile is missing or empty w/ support for fish 2.1.2

This commit is contained in:
Jorge Bucaran 2016-02-16 10:43:11 +09:00
parent e0ed629777
commit 1856524e74
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -1,5 +1,8 @@
function __fisher_path_make -a path
if test -s $path/Makefile -o -s $path/makefile
if test ! -s $path/Makefile -o ! -s $path/makefile
return
end
pushd $path
set -e argv[1]
@ -10,5 +13,4 @@ function __fisher_path_make -a path
end
popd
end
end