| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* bin/eselect.in (PATH): Avoid subshell.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* bin/eselect.in (PATH): Use printf instead of echo
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* bin/eselect.in (PATH): Don't append a spurious newline.
Fixes: 81dc05871392f5acbf5fadb5bb1991c737e42a5f
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* bin/eselect.in (PATH): Sanitise, remove Portage's internal
ebuild-helpers dir from it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* bin/eselect.in (EPREFIX): Quote argument of ":" command.
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223
Add some more quotes throughout.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bin/eselect.in: Update shebang to use EPREFIX. Bug 905934.
* bin/Makefile.am (dosed): Don't substitute BASH.
* libs/package-manager.bash.in (env_update): Don't use an absolute
path for env-update.
* libs/Makefile.am (dosed): Don't substitute ENV_UPDATE.
* configure.ac: Drop checks for bash and env-update paths.
Bug: https://bugs.gentoo.org/905934
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* bin/eselect.in (trap): Don't output a message, because die()
is verbose enough. Thanks to Florian Schmaus for the suggestion.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* bin/eselect.in: Disable colours if NO_COLOR is nonempty.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* bin/eselect.in: New global option --eprefix.
(es_do_help): Document it.
* doc/user-guide.txt:
* man/eselect.1: Document the --eprefix option.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* bin/eselect.in: Allow EPREFIX to be overridden for manipulating
prefixed ROOT.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* bin/eselect.in: Error out if --root has no option argument.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* bin/eselect.in: New global option --root.
(es_do_help): Document it.
* doc/user-guide.txt:
* man/eselect.1: Document the --root option.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* bin/eselect.in: Set umask +rx, bug 572348.
|
| |
|
|
|
|
|
|
| |
* bin/eselect.in: Parse global options even if we are invoked
as something-config or similar. Respect "--" to indicate end
of options.
|
|
|
|
|
|
| |
* bin/Makefile.am (dosed):
* libs/Makefile.am (dosed):
* man/Makefile.am (dosed): Use "%" instead of "," as delimiter.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* modules/modules.eselect (do_list): New local option --only-names
will output names of modules only, without their description.
This replaces the previous brief output mode behaviour and is
mainly intended for bash completion.
(describe_list_options): New function, documents --only-names.
* bin/eselect.in (es_do_help): Don't force default output mode.
* misc/eselect.bashcomp (_eselect): Call "eselect modules list"
with --only-names option.
|
|
|
|
|
|
|
| |
* libs/output.bash.in (colours): Accept an argument and handle
both enabling and disabling of colour output.
(nocolours): Remove function.
* bin/eselect.in: Call 'colours' with appropriate argument.
|
| |
|
|
|
|
|
|
| |
* bin/eselect.in (es_do_list_options, es_do_list_modules):
Remove deprecated functions.
(es_do_help): Move code for listing options and modules to here.
|
|
|
|
|
| |
* bin/eselect.in: Remove legacy --no-colour option.
Option --colour=no or --colour=never should be used instead.
|
|
|
|
|
| |
* bin/eselect.in (es_find_module): Move function to core library.
* libs/core.bash.in (find_module): Rename and simplify.
|
|
|
|
|
|
| |
* configure.ac: Check whether we are building from git;
include git revision in EXTRAVERSION if we do.
* bin/Makefile.am (dosed): Append EXTRAVERSION to VERSION.
|
|
|
|
|
|
|
| |
* bin/eselect.in: Save stderr only in bash 4.1 or later, where
automatically assigned file descriptors are available. Using a
fixed descriptor makes bash crash on Darwin, bug 475284.
* libs/core.bash.in (die): Test for saved file descriptor.
|
|
|
|
|
|
|
| |
* bin/eselect.in (ESELECT_STDERR): Save stderr file descriptor.
* libs/core.bash.in (die): Restore stderr, otherwise there would
be no output if die was called while stderr is redirected.
Fixes bug 451150. Thanks to Michał Górny <mgorny@gentoo.org>.
|
| |
|
|
|
|
|
|
| |
* bin/eselect.in (EROOT): Remove trailing slash from ROOT only
if EPREFIX is set. This guarantees that EROOT is equal to ROOT
for empty EPREFIX.
|
|
|
|
|
| |
* bin/eselect.in (EROOT): Remove any trailing backslash from ROOT
before appending EPREFIX.
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=859
|
|
|
|
| |
svn path=/trunk/; revision=854
|
|
|
|
| |
svn path=/trunk/; revision=853
|
|
|
|
| |
svn path=/trunk/; revision=814
|
|
|
|
| |
svn path=/trunk/; revision=790
|
|
|
|
| |
svn path=/trunk/; revision=765
|
|
|
|
| |
svn path=/trunk/; revision=752
|
|
|
|
| |
svn path=/trunk/; revision=739
|
|
|
|
| |
svn path=/trunk/; revision=730
|
|
|
|
| |
svn path=/trunk/; revision=702
|
|
|
|
| |
svn path=/trunk/; revision=693
|
|
|
|
| |
svn path=/trunk/; revision=692
|
|
|
|
| |
svn path=/trunk/; revision=658
|