Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] include Makefile relative from the current working directory
- X-seq: zsh-workers 42049
- From: SATOH Fumiyasu <fumiyas@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] include Makefile relative from the current working directory
- Date: Sat, 25 Nov 2017 19:59:28 +0900
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: OSS Technology Corp. / Samba-JP / LDAP-JP / Apache-JP
Don't include Makefile relative from the current Makefile.
I've confirmed that GNU make, BSD make, Solaris 10 make and
AIX 7.2 make include Makefile relative from the current
working directory.
---
Completion/Unix/Command/_make | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Completion/Unix/Command/_make b/Completion/Unix/Command/_make
index 890ad1c83..66b7e13b1 100644
--- a/Completion/Unix/Command/_make
+++ b/Completion/Unix/Command/_make
@@ -108,10 +108,6 @@ _make-parseMakefile () {
f=${f%[\">]}
fi
f=$(_make-expandVars $f)
- case $f in
- (/*) ;;
- (*) f=$dir/$f ;;
- esac
if [[ -r $f ]]
then
--
2.15.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author