GithubHelp home page GithubHelp logo

Comments (1)

stephengaito avatar stephengaito commented on May 8, 2024 1

@ZelChief ,
I am sorry to have taken a couple of days to get back to you.... too many things to juggle.

SO... the bash script is trying to determine the "Linux Standard Base" "codename" and "id" of you Linux distribution. In my case these are "focal" and "Ubuntu".

I will attempt to find a more robust way of determining these values.... however until then you could replace the following lines in the buildScripts/versionEnvs file FROM:

if test -r /etc/lsb-release ; then
  cat /etc/lsb-release
  # source /etc/lsb-release
  . /etc/lsb-release
  export BUILD_DIST=$DISTRIB_CODENAME
  export BUILD_OS=$DISTRIB_ID
elif test -r /etc/alpine-release ; then
  cat /etc/alpine-release
  export BUILD_OS=alpine
  export BUILD_DIST=$(cat /etc/alpine-release)
else
  echo "FAILURE: could not determine release"
  exit -1
fi

TO:

export BUILD_DIST=<<DISTRIB_CODENAME>>
export BUILD_OS=<<DISTRIB_ID>>
  1. You MUST replace <<DISTRIB_CODENAME>> with the "name" of your linux release or any alphaNumeric identifier of your choice.

  2. You MUST replace <<DISTRIB_ID>> with the "name" of your linux distribution or any alphaNumeric identifier of your choice.

  3. You MUST not have any spaces in these values since they are used to create file names... and subsequent scripts will get very confused.

I hope that this helps.

from pdf2htmlex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.