aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
AgeCommit message (Collapse)Author
2016-04-13Merge pull request #115 from ten0s/masterMark Allen
Use dot instead of source
2016-04-13Merge pull request #116 from yrashk/fix_env_varssanmiguel
Allow env vars to override default values
2016-04-13If using OS X El Capitan, try to add OpenSSLMark Allen
2016-04-13Make sure we treat all env/config vars equallysanmiguel
2016-04-13Do not clear ENV config varsIgnas Vyšniauskas
According to the docs it is possible to configure kerl both by using `.kerlrc` and passing ENV variables from the command-line, i.e. KERL_INSTALL_MANPAGES=yes ./kerl install <build> <path> However the ENV vars were being cleared/overriden, so you could only use `.kerlrc`. This fixes it.
2016-04-11Use dot instead of sourceDmitry Klionsky
In Ubuntu /bin/sh is /bin/dash, which doesn't support the source command.
2016-04-06Merge pull request #101 from erszcz/build-plt0.9Mark Allen
Build a Dialyzer PLT when installing a build
2016-04-06Merge pull request #99 from kunthar/grep-fixMark Allen
pcre grep errors fix in mac os
2016-04-06Merge pull request #106 from fenollp/shellcheck-fixesMark Allen
Fix most shellcheck warnings/errors
2016-01-23Adapt to new erlang.org markupRubén Caro
2016-01-10Fix most shellcheck warnings/errorsPierre Fenoll
2015-07-03Print PLT statusRadek Szymczyszyn
2015-07-03Build a Dialyzer PLT when installing a buildRadek Szymczyszyn
2015-07-03Deduplicate some installation stepsRadek Szymczyszyn
2015-07-03Check for env var value to be non-zero, not its nameRadek Szymczyszyn
2015-06-25pcre grep errors fix in mac osGokhan Boranalp
pcre grep errors fix in mac os. see here: http://erlang.org/pipermail/erlang-questions/2014-April/078526.html
2015-01-07trailing white spaceOrien Madgwick
2015-01-07Don't print to stderrOrien Madgwick
`gcc --version` prints defaust configuration to STDERR. It's confusing because it conflicts with the configuration set in KERL_CONFIGURE_OPTIONS. Let's not show it.
2015-01-07Search for `llvm` in a case insensitive way.Orien Madgwick
Later versions now use CAPs
2014-11-07refuse installation in $HOME.Omer Kilic
2014-04-30Remove release from otp_builds on 'delete build' in case when build ↵ILYA Khlopotov
directory is missing
2014-04-28Merge pull request #73 from vlm/patch-1khia
Fix confusing kerl usage string for `update`
2014-04-26Update kerlLev Walkin
2014-04-18Make sure final release is after release candidatesILYA Khlopotov
2014-04-18Fix confusing kerl usage string for `update`Lev Walkin
[lwalkin@lwalkin:~]> ./kerl update usage: ./kerl <releases> should be: [lwalkin@lwalkin:~]> ./kerl update usage: ./kerl update releases This patch fixes that.
2014-04-15We don't need first sed since cut would return lines without delimeterILYA Khlopotov
2014-04-15Fix order of sed commands in the pipeline when we return list of releasesILYA Khlopotov
2014-04-14Support new erlang's release naming convention when we get list of releasesILYA Khlopotov
2014-04-11Follow redirectsILYA Khlopotov
2014-04-07Update kerl to grok KERL_INSTALL_MANPAGES envLev Walkin
The KERL_INSTALL_MANPAGES is ignored if given in the environment. Fixing that by saving and restoring the KERL_INSTALL_MANPAGES along the rest of the options. By the way, KERL_INSTALL_HTMLDOCS is not reset in the beginning of the file, so no save/restore is necessary for it. Though its an inconsistency due to be fixed... as a separate ticket.
2014-02-01Update kerlKenji Rikitake
* Change get_releases() to accept the new naming scheme of `otp_src_MAJOR.MINOR.PATCH.tar.gz`, where MAJOR, MINOR, PATCH are all decimal letters and some additional letters in `[-0-9A-Za-z_.]` (see OTP-11615 on otp_src_17.0-rc1.tar.gz)
2014-01-28Update kerlKenji Rikitake
* Define $_KERL_ACTIVE_DIR when activating * Use $_KERL_ACTIVE_DIR for `kerl status`
2014-01-28Update kerlKenji Rikitake
* Let get_active_path to use $REBAR_PLT_DIR for the current active installation path
2013-11-21Change to env var restoration in activate scriptsanmiguel
Change to direct removal of the pre-known addition from $PATH and $MANPATH
2013-10-23Add support for disabling apps to build via KERL_CONFIGURE_DISABLE_APPLICATIONSJoseph Wayne Norton
If non-empty, you can specify the subset of applications to disable when building (and subsequent installing) Erlang/OTOP with the KERL_CONFIGURE_DISABLE_APPLICATIONS variable, either in your $HOME/.kerlrc file or prepending it to the command line. e.g. KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc"
2013-03-09Add possibility to show the name of the release before the promptAndras Boroska
2013-01-31Merge pull request #37 from norton/norton-git-buildYurii Rashkovskii
Simplify and improve the recipe for git-based builds
2013-02-01Expand regex for matching http://www.erlang.org/download releasesJoseph Wayne Norton
The previous regex did not match with the R16A release available for download from the Erlang/OTP website.
2013-01-31Fix typo with otp_build.logJoseph Wayne Norton
2013-01-31Simplify and improve the recipe for git-based buildsJoseph Wayne Norton
Modify the git-based recipe to simply mirror the remote git repository. If enabled by configuration, download and install the newest official manpages and/or HTML docs as opposed to not installing any documentation for git-based builds. To save disk space and to simplify git operations, the repository format of the local otp repository has been changed to bare format. If caller has previously used the git-based build feature, caller should execute "kerl cleanup all" once to remove any old local otp repositories.
2013-01-30Fix: do not hardcode origin/ to refMotiejus Jakštys
This allows building tags and all other funny kinds of refs.
2013-01-10Removed typo.Ewan
2012-12-08Force the name of the otp_src_.* directory to match expectationsJoseph Wayne Norton
The name of the otp_src_.* directory (e.g. otp_src_R15B03) may not always match with the name (e.g. otp_src_R15B03-1.tar.gz) of it's tarball file. The tar --strip-components option was purposely not used since this option might not be available all of the time.
2012-12-08Use HREF url to extract list of releases from erlang.orgJoseph Wayne Norton
Kerl previously used the contents of the HTML <a> tag for this purpose. Unfortunately, the HTML <a> tag is not always rendered as expected. The old output from "kerl update releases": ------ Getting the available releases from erlang.org... The available releases are: R10B-0 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03 ------ The new output from "kerl update releases": ------ Getting the available releases from erlang.org... The available releases are: R10B-0 R10B-10 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02-1 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03-1 R15B03 ------
2012-12-02Drop agner leftoversYurii Rashkovskii
2012-12-02Update copyright noticeYurii Rashkovskii
2012-12-02Drop agner supportYurii Rashkovskii
Closes #32
2012-11-22fixing grep exit code handlingd0rc
2012-09-06Update $MANPATH on activate/deactivateRadosław Szymczyszyn
2012-08-04Add cache support for building from gitJoseph Wayne Norton
Clone and re-use Erlang/OTP git repositories. Ensure the locally cached git repository is ready to use before each build by performing a git clean, git reset, git fetch, and git detach.