aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bin: Rename all _E_*DESTTREE_ variables to __E_*DESTTREEUlrich Müller2023-04-271-2/+2
| | | | | | The __* namespace is reserved for package manager use. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bin: style tweaksSam James2022-08-011-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* *: use /usr/bin/env bash iso /bin/bashFabian Groffen2022-07-251-1/+1
| | | | | | | For Prefix systems it's better not to use host-provided bash (if it exists at all), and this is in line with python usage as well. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* Replace implicit doc compression with dir compression in old EAPIsMichał Górny2018-09-201-2/+1
| | | | | | | | | | | Unify the documentation compression methods in all EAPIs to compress per-directory rather than implicitly compress files installed by dodoc, doinfo and doman. Old EAPIs don't provide docompress to control which directories are compressed but they don't say anything about dodoc etc. compressing anything either. Signed-off-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Zac Medico <zmedico@gentoo.org>
* Fix uses of D/ED to account for no trailing slashMichał Górny2018-03-121-1/+1
| | | | | | | Fix all uses of D/ED to account for trailing slash not being present in EAPI 7. While at it, also remove some duplicate slashes. Reviewed-by: Zac Medico <zmedico@gentoo.org>
* require PORTAGE_{BIN,PYM}_PATH not be clearedMike Frysinger2015-06-101-1/+1
| | | | | | | | | Rather than hardcode a full path everywhere as a fallback, assume the value is always set to the right location. The current path isn't the right place anymore already. If it turns out we want to support this scenario, we can do it via a bunch of bootstrapping (and symlinked) files.
* ebuild-helpers: avoid `env` indirection by setting the vars before the execMike Frysinger2015-05-141-4/+1
| | | | | | | | | Setting an env var on the same line as the exec will make bash export the var to the program it execs. That means these forms are practically equiv: FOO=val exec blah exec env FOO=val blah The difference is that we now avoid execing env entirely.
* strip trailing whitespaceMike Frysinger2012-11-221-1/+1
| | | | | | No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* dodoc: source isolated-functions.sh earlierZac Medico2012-09-261-2/+2
| | | | This is needed since commit ab46499322311c1faa710c63d0a5339e49a9061a.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-12/+9
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-2/+2
|
* Eliminate bin/ebuild-helpers/4 directory.Zac Medico2012-09-011-1/+12
| | | | | Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts.
* Support FEATURES=force-prefix.Zac Medico2011-12-081-1/+1
| | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix.
* Make USE=prefix enable EPREFIX in all EAPIs.Zac Medico2011-12-071-1/+2
| | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons).
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-1/+3
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* dodoc: update copyright datev2.2.0_alpha26Zac Medico2011-03-011-1/+1
|
* dodoc: Honour exit status of install, bug 356389.Ulrich Mueller2011-02-251-2/+4
|
* dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead.Ulrich Mueller2010-09-051-1/+1
|
* Implement controllable compression and docompress, bug #273633.Ulrich Mueller2010-08-281-1/+1
|
* * In helpers_die arguments, display ${0##*/} instead of $0 since $0Zac Medico2010-08-181-2/+2
| | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0.
* Make utilities die on failure in EAPI 4, bug 273651Dror Levin2010-08-121-2/+4
|
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* In order to eliminate the possibility of integer overflay, replace things likeZac Medico2009-03-291-1/+1
| | | | | | ((ret+=$?)) with ((ret|=$?)). Thanks to zong_sharo for the suggestion. svn path=/main/trunk/; revision=13242
* Move ebuild helpers into an ebuild-helpers subdirectory.Zac Medico2009-03-121-0/+28
svn path=/main/trunk/; revision=13063