Closed (fixed)
Project:
dslm
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Aug 2011 at 16:46 UTC
Updated:
31 Aug 2011 at 21:26 UTC
Jump to comment: Most recent file
I began setting up my dev environment on my local machine at the path /drupal/cu/. I checked out cu_drupal_base which includes cores and distros and then attempted to dslm-new --latest cu.
This correctly created the /drupal/cu/cu/ directory and symlinked the files, however, it appears that relpath in dslm/lib/dslm.class.php fell apart and incorrectly created the symlinks to drupal_base/[etc] instead of ../cu_drupal_base/[etc].
Simply changing my target directly to something other than "cu" worked just fine, but eventually I'll want to dive in to relpath to figure out where it's getting confused.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | new_relpath-1256558-1.patch | 3.34 KB | bshelton |
Comments
Comment #1
bshelton commentedTest out the relpath method in this patch.
Maybe I could try to port this one written in C
http://www.koders.com/c/fidF6F71CA4AA3235A7B7CCB98E6CA0D5AAC2955235.aspx...
Comment #2
bshelton commentedThe relpath method has been replaced in master. I think we need some more refactoring, but it's better with comparing the common path elements than the previous method was.
Comment #3
ultimateboy commentedWell, that at least fixed my issue! Great work.
Comment #4
bshelton commentedFor posterity, this is the relpath commit: http://drupalcode.org/sandbox/bshelton/1222392.git/commit/b857157