On Jun 3, 2013 12:00 PM, "jkarni" <notifications@github.com> wrote:
>
> In scripts/create-dev-env.sh:
>
> > @@ -96,13 +96,27 @@ clone_repos() {
> >      fi
> >  }
> >
> > +set_base_default() {  # if PROJECT_HOME not set
> > +    # 2 possibilities: this is from cloned repo, or not
> > +    # this script is in "./scripts" if a git clone
> > +    this_repo=$(cd "${BASH_SOURCE%/*}/.." && pwd)
> > +    if [[ "${this_repo##*/}" = "edx-platform" && -d "$this_repo/.git"
]]; then
>
> This is probably fine, but does mean the repo has to be cloned into a
folder named "edx-platform". If the test were instead:
>>
>> [[ $(basename $(git remote show -n origin 2>/dev/null | grep Fetch | cut
-d: -f2-)) = "edx-platform.git" ]]
>
> We'd avoid that restriction.

That sounds good in principle, to me.  My gut, however, is concerned as
edx-platform as I recall is wired into many places throught (  e.g.
something like ”rvm ruby1.9.3p374@edx-platform”).

This might just be the one thing that should be coded-in-stone (?).

>
> —
> Reply to this email directly or view it on GitHub.