#134 ✓resolved
Brian Taylor

make install-tools overwrite previous objj

Reported by Brian Taylor | 2008-11-08 20:03:39 UTC | in 0.6

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.

Comments and changes to this ticket

  • admin (at 280north)

    admin (at 280north) 2008-11-10 07:30:34 UTC

    • Milestone set to “0.6”
    • State changed from “new” to “resolved”

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

    [#134 state:resolved milestone:0.6] http://github.com/280north/cappu...

  • Ross Boucher

    Ross Boucher 2008-11-10 08:06:05 UTC

    • 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.

  • Brian Taylor

    Brian Taylor 2008-11-11 18:34:39 UTC

    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.

  • Ross Boucher

    Ross Boucher 2008-11-13 15:02:57 UTC

    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.

  • Tom Robinson

    Tom Robinson 2008-12-05 22:34:27 UTC

    • 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.

  • Brian Taylor

    Brian Taylor 2008-12-06 05:05:48 UTC

    Works for me. Thank you.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

Attachments

Tags

Referenced by

Pages