mirror of https://github.com/jorgebucaran/fisher
Do not fail if Makefile is missing or empty w/ support for fish 2.1.2
parent
e0ed629777
commit
1856524e74
@ -1,14 +1,16 @@
|
||||
function __fisher_path_make -a path
|
||||
if test -s $path/Makefile -o -s $path/makefile
|
||||
pushd $path
|
||||
if test ! -s $path/Makefile -o ! -s $path/makefile
|
||||
return
|
||||
end
|
||||
|
||||
set -e argv[1]
|
||||
pushd $path
|
||||
|
||||
if not make $argv
|
||||
popd
|
||||
return 1
|
||||
end
|
||||
set -e argv[1]
|
||||
|
||||
if not make $argv
|
||||
popd
|
||||
return 1
|
||||
end
|
||||
|
||||
popd
|
||||
end
|
||||
|
Loading…
Reference in New Issue