bash-completion/0001-completions-Makefile-Fix-check-local-in-VPATH-builds.patch

25 lines
733 B
Diff
Raw Normal View History

2019-09-30 10:32:16 -04:00
From 57b2c937c1fa8409a4416702cf5b8844233a5566 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Sat, 17 Mar 2018 13:04:12 +0200
Subject: [PATCH 001/352] completions/Makefile: Fix check-local in VPATH builds
---
completions/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/completions/Makefile.am b/completions/Makefile.am
index e442a9e..30b190d 100644
--- a/completions/Makefile.am
+++ b/completions/Makefile.am
@@ -1000,6 +1000,6 @@ check-local:
ret=0
for file in $(bashcomp_DATA) ; do \
$${bashcomp_bash:-$${BASH:-bash}} \
- -O extglob -n $$file || ret=$$? ; \
+ -O extglob -n $(srcdir)/$$file || ret=$$? ; \
done ; \
exit $$ret
--
1.8.3.1