make install-tools overwrite previous objj
Reported by Brian Taylor | November 8th, 2008 @ 08:03 PM | 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) November 10th, 2008 @ 07:30 AM
- 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 November 10th, 2008 @ 08:06 AM
- 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 November 11th, 2008 @ 06:34 PM
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 November 13th, 2008 @ 03:02 PM
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 December 5th, 2008 @ 10:34 PM
- 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.
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.
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.
People watching this ticket
Attachments
Tags
Referenced by
- 134 make install-tools overwrite previous objj [#134 state:resolved milestone:0.6] http://github.com/28...