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.

CommentFileSizeAuthor
#1 new_relpath-1256558-1.patch3.34 KBbshelton

Comments

bshelton’s picture

StatusFileSize
new3.34 KB

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

bshelton’s picture

Status: Active » Closed (fixed)

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

ultimateboy’s picture

Well, that at least fixed my issue! Great work.

bshelton’s picture