summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/ecompressdir
Commit message (Collapse)AuthorAgeFilesLines
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-3/+4
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-7/+7
|
* Convert funcs of bashrc-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-4/+4
|
* ecompressdir: fix brokenlink newdest logicZac Medico2012-06-011-1/+5
| | | | Was broken in commit bbacf8674168cf033de0ccb161f568d0b26f032b.
* ecompressdir: avoid ecompress.break interferenceZac Medico2012-06-011-3/+3
|
* ecompressdir: fix ln -s for bug #418309Zac Medico2012-06-011-3/+7
| | | | | This fixes parallel funk_up_dir decompress calls so that they don't inappropriately compete with eachother to fix the same broken symlinks.
* ecompressdir: fix funk_up_dir return valueZac Medico2012-06-011-2/+4
|
* prepstrip/ecompressdir: parallelize operationsMike Frysinger2012-05-121-4/+26
| | | | | | | | | | | Stealing some ideas from ferringb, add a new API for doing parallel processing in bash, and then deploy this with the stripping and compressing stages. For stripping coreutils which has about 100 ELFs, this brings time to strip down from ~7 seconds to ~0.7 seconds on my system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ecompressdir: handle abs symlink, bug #405327Zac Medico2012-02-221-3/+10
|
* ecompress: don't rename dir symlink, bug #399595Zac Medico2012-01-211-0/+4
|
* 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