... so they work when prefix contains spaces. Signed-off-by: Jonas Fonseca <fonseca@diku.dk> --- diff --git a/Makefile b/Makefile index fd52992..1b61953 100644 --- a/Makefile +++ b/Makefile @@ -92,12 +92,12 @@ install-cogito: $(SCRIPT) $(LIB_SCRIPT) $(INSTALL) $(LIB_SCRIPT) $(DESTDIR)$(libdir) cd $(DESTDIR)$(bindir); \ for file in $(SCRIPT); do \ - sed -e 's/\$${COGITO_LIB}/\$${COGITO_LIB:-$(sedlibdir)\/}/g' $$file > $$file.new; \ + sed -e 's/\$${COGITO_LIB}/"\$${COGITO_LIB:-$(sedlibdir)\/}"/g' $$file > $$file.new; \ cat $$file.new > $$file; rm $$file.new; \ done cd $(DESTDIR)$(libdir); \ for file in $(LIB_SCRIPT); do \ - sed -e 's/\$${COGITO_LIB}/\$${COGITO_LIB:-$(sedlibdir)\/}/g' $$file > $$file.new; \ + sed -e 's/\$${COGITO_LIB}/"\$${COGITO_LIB:-$(sedlibdir)\/}"/g' $$file > $$file.new; \ cat $$file.new > $$file; rm $$file.new; \ done -- Jonas Fonseca - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Fri Oct 21 23:17:19 2005
This archive was generated by hypermail 2.1.8 : 2005-10-21 23:17:22 EST