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 68beef51e9
commit 83b84b7494

View File

@ -1,14 +1,16 @@
function __fisher_path_make -a path
if test -s $path/Makefile -o -s $path/makefile
pushd $path
set -e argv[1]
if not make $argv
popd
return 1
end
popd
if test ! -s $path/Makefile -o ! -s $path/makefile
return
end
pushd $path
set -e argv[1]
if not make $argv
popd
return 1
end
popd
end