Jump to content

Build From GIT


Recommended Posts

vindicator
Posted

Right off the bat it seems the MediaBrowser.Mono.Build.sh is flawed.

Readme.txt

* Go to the script location via CLI.
* "chmod +x MediaBrowser.Mono.Build.sh", if script is not executable.
* $ ./MediaBrowser.Mono.Build.sh
* Two packages will be available in mediabrowser/:
    * MediaBrowser.Mono.v.x.yyyy.zzzzz.tar.gz
    * MediaBrowser.Mono.mkbundlex.v.x.yyyy.zzzzz.tar.gz

When you run the script from the MediaBrowser/Tools/Linux_Build_Scripts directory it starts to clone the mediabrowser git from github.

This is redundant since the git was already cloned.

MBGITPATH="MediaBrowser"

 

If anything, it would seem that the build should happen outside of the src dir.

|RootPath

 -SrcPath

 -SrcBuild

instead of

|RootPath

 -|SrcPath

   -|Tools

     -|Linux_Build_Scripts

       -mediabrowser <- it's fine if the build is done here, but just DON'T reclone the git source you're already under.

Posted (edited)

Well that script is ages old and I don't think anyone is actually using it since we started providing distribution packages.

We should propably remove or rework it :)

 

You can just start the build proces from the checkout root and then get the result from the MediaBrowser.Server.Mono/build folder (i think that was the correct one, will check when I'm home.

Edited by gsnerf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...