Oops (was Re: [Xotcl] Bug: make install step tries to perform chmod on xowish even if not configured to build [PATCH])
Jim Lynch
jim at jam.sessionsnet.org
Fri Apr 9 02:20:52 CEST 2004
On Thu, 8 Apr 2004 17:03:20 -0700
"Jim Lynch" <jim at jam.sessionsnet.org> wrote:
> Hi,
>
> I got an error when building xotcl without tk and wish support where it
> tries to do a chmod on xowish (which of course doesn't exist at that
> point.)
>
> This patch will fix the problem
Actually no it won't, it's broke... needs " ; \ " at the line ends of the
new chmod lines. Here's a better patch (attached).
-Jim
--
Jam sessions community web site: http://jam.sessionsnet.org
-------------- next part --------------
--- xotcl-1.2.0-orig/unix/Makefile.in 2004-02-16 15:32:01.000000000 -0800
+++ xotcl-1.2.0/unix/Makefile.in 2004-04-08 17:12:15.000000000 -0700
@@ -458,11 +458,12 @@
$(DMALLOC_LIB) $(CONDITIONAL_STUB_OBJECTS)
install-shells:
- chmod +x xotclsh xowish
@if test -e xotclsh; then \
+ chmod +x xotclsh; \
$(INSTALL_PROGRAM) xotclsh $(DESTDIR)$(bindir); \
fi
@if test -e xowish; then \
+ chmod +x xowish; \
$(INSTALL_PROGRAM) xowish $(DESTDIR)$(bindir); \
fi
More information about the Xotcl
mailing list