withjam / mlvm

MarkLogic Version Manager (or version switcher more accurately)
Apache License 2.0
13 stars 3 forks source link

Disk mounting and and new init command #12

Closed jmakeig closed 9 years ago

jmakeig commented 9 years ago

Sorry to bundle these distinct changes into a single pull request. I'm still a git noob.

jmakeig commented 9 years ago

Argh. I don't think 5e80ec1 actually fixes the issue. The only thing that seems to work reliably is to give an absolute path to the .dmg. (The init command looks to work pretty well, though.)

jmakeig commented 9 years ago

I think the problem with the path to the .dmg is the use of cd $SOURCE/versions. This changes with working directory against which relative paths are resolved.

withjam commented 9 years ago

PR has been manually merged due to some earlier changes. I think it was pretty straight forward but might want to do give it the once-over to make sure.