mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Do not fail if Makefile is missing or empty w/ support for fish 2.1.2
This commit is contained in:
parent
68beef51e9
commit
83b84b7494
1 changed files with 13 additions and 11 deletions
|
@ -1,5 +1,8 @@
|
||||||
function __fisher_path_make -a path
|
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
|
pushd $path
|
||||||
|
|
||||||
set -e argv[1]
|
set -e argv[1]
|
||||||
|
@ -10,5 +13,4 @@ function __fisher_path_make -a path
|
||||||
end
|
end
|
||||||
|
|
||||||
popd
|
popd
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue