![](https://seccdn.libravatar.org/avatar/519d17ce2fff16336e7a07ce8ccd4609.jpg?s=120&d=mm&r=g)
Hi, from time to time, some of my rpmbuilds bail out during "make" run, which boil down to Makefiles created on the fly with commands containing "cd", because that echos the new path into the generated Makefile, rendering it invalid. E.g.: (excerpt from hylafax/man/Makefile.in) cman.apps/Makefile: ${DEPTH}/defs cman.apps ${MANCAPP} ${RM} -f cman.apps/Makefile (${ECHO} '#!smake'; \ ${ECHO} 'DEPTH=../..'; \ ${ECHO} '@MAKEINCLUDE@ @MAKELQUOTE@$${DEPTH}/defs@MAKERQUOTE@';\ ${ECHO} 'install:'; \ (cd cman.apps; for i in *.1; do \ f=${MANCAPPNAME}; \ ${ECHO} ' $${INSTALL} -m 444 -root $${INSTALLROOT} -F $${MAN}/$${MANAPPS} \ -idb $${PRODUCT}.man.client -src' "$$i" '-O' "$$f"; \ done); \ ${ECHO}; \ ${ECHO} 'uninstall:'; \ (cd cman.apps; for i in *.1; do \ f=${MANCAPPNAME}; \ ${ECHO} ' $${RM} -f $${MAN}/$${MANAPPS}/'"$$f"; \ done) \ )>cman.apps/Makefile Since similar sequences can be found in the other packages as well. I wonder, why I suffer from this occasionally, but most of you seemingly not. Before I start digging into the bash source, I thought, I try to get some expert advice. Does that issue rings a bell for anybody? TIA, Pete [openSUSE 10.2, bash environment tweaked, but it's still bash] --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org