Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

make install-tools overwrite previous objj

#134

The current install-tools only puts the objj directory in the right place ( $INSTALL_DIR/share/objj ) if cappuccino hasn't been installed before. All subsequent installs make the new objj directory as a subdirectory of previous $INSTALL_DIR/share/objj .

This is a very boring patch that changes the install-tools line:

cp -fR objj/ $INSTALL_DIR/share/objj

to

cp -fR objj/ $INSTALL_DIR/share/

so that objj will overwrite previous versions.

Reported by Brian Taylor · November 8th, 2008 @ 08:03 PM

State: resolved
Milestone: 0.6
Assigned to: Tom Robinson Tom Robinson

Activity

  1. admin (at 280north)
    admin (at 280north)
    • Milestone set to 0.6
    • State changed from new to resolved

    (from [0907f287af87b1f4a1b5ff5f61889f25c5479b6c]) fix for future installs not overwriting previous installs

    [#134 make install-tools overwrite previous objj state:resolved milestone:0.6] http://github.com/280north/cappu...

    November 10th, 2008 @ 07:30 AM

  2. Ross Boucher
    Ross Boucher
    • State changed from resolved to open
    • Tag changed from patch to objj
    • Assigned user set to Tom Robinson

    Turns out this breaks the initial install. I'm assigning this to Tom to figure out, and reverting the patch.

    November 10th, 2008 @ 08:06 AM

  3. Brian Taylor
    Brian Taylor

    That's interesting. This patch works fine on the initial install for me.

    bash --version GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2007 Free Software Foundation, Inc.

    November 11th, 2008 @ 06:34 PM

  4. Ross Boucher
    Ross Boucher

    Wasn't working for me in OS X. The fix is simple i think though. Just rm anything that already exists at that location before copying it there.

    November 13th, 2008 @ 03:02 PM

  5. Tom Robinson
    Tom Robinson
    • State changed from open to resolved

    I believe this is fixed and works in both cases (initial and subsequent) on Linux and OS X.

    I tested on Ubuntu with bash 3.2.25.

    December 5th, 2008 @ 10:34 PM

  6. Brian Taylor
    Brian Taylor

    Works for me. Thank you.

    December 6th, 2008 @ 05:05 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.