1 From 5b7a84dbb9d06112c4b2804223163d91ba8ab786 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Thu, 1 Jun 2017 10:34:38 +0800
4 Subject: [PATCH] fs.sh: fix builds when srcdir and builddir are seperated
6 It fails to find fs.sh.in when srddir and builddir are not the same:
8 make[5]: Entering directory '/path/to/builddir/rgmanager/src/resources'
10 -e 's#@''LOGDIR@#/var/log/cluster#g' \
12 cat: fs.sh.in: No such file or directorychmod +x fs.sh.out
15 Add abs_srcdir to fix this.
17 Upstream-Status: Submitted [https://github.com/ClusterLabs/resource-agents/pull/986]
19 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
21 rgmanager/src/resources/Makefile.am | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 diff --git a/rgmanager/src/resources/Makefile.am b/rgmanager/src/resources/Makefile.am
25 index de88c69..30b3be9 100644
26 --- a/rgmanager/src/resources/Makefile.am
27 +++ b/rgmanager/src/resources/Makefile.am
28 @@ -68,7 +68,7 @@ rngdir = ${CLUSTERDATA}/relaxng
29 rng_DATA = $(DTD) $(XSL) $(RESRNG)
33 + cat $(abs_srcdir)/$@.in | sed \
34 -e 's#@''LOGDIR@#${LOGDIR}#g' \