summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/ecompressdir
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* ecompressdir: remove 'continue' from loop logicZac Medico2011-11-081-6/+3
| | | | Hopefully this helps us avoid errors in loop logic like bug #389047.
* Handle empty PORTAGE_COMPRESS for bug #389047.Zac Medico2011-11-071-1/+5
| | | | | | This fixes a case where empty PORTAGE_COMPRESS made ecompressdir forget to call restore_skip_dirs, such that docompress -x resulted in files not being installed due to hide_skip_dirs hiding them permanently.
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-12/+14
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* bash: as a general rule, use read -rZac Medico2010-12-291-2/+2
| | | | This solves cases like bug #350045.
* Substitute bash builtin >> for touch command.Zac Medico2010-12-191-3/+6
| | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640).
* Implement controllable compression and docompress, bug #273633.Ulrich Mueller2010-08-281-2/+3
|
* ecompressdir: use proper exit valueJonathan Callen2010-08-271-1/+1
|
* * In helpers_die arguments, display ${0##*/} instead of $0 since $0Zac Medico2010-08-181-3/+3
| | | | | | 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-3/+7
|
* 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-2/+2
| | | | | | ((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/+136
svn path=/main/trunk/; revision=13063