summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/doins
Commit message (Collapse)AuthorAgeFilesLines
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-10/+8
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-7/+7
|
* Eliminate bin/ebuild-helpers/4 directory.Zac Medico2012-09-011-7/+9
| | | | | Instead, just use conditionals where appropriate inside bin/ebuild-helpers/* scripts.
* Remove tests for deprecated 3_pre2 EAPI.Ulrich Müller2012-08-151-2/+2
|
* 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-7/+9
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* Revert "xml/metadata: implement XMLParser.doctype()"Zac Medico2011-08-311-9/+7
| | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included.
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-311-7/+9
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* doins: add reference to bug #239529Zac Medico2011-05-041-1/+4
| | | | | | The reasoning for the code from commit 55b3150af635a418ba3f1424132359c894db7ec4 is not really obvious, so it's helpful to reference the corresponding bug report.
* doins: tweak $DISTDIR symlink handlingZac Medico2011-04-111-2/+3
| | | | | Only match stuff inside $PORTAGE_ACTUAL_DISTDIR/ so that we don't stray from PMS.
* doins: dereference abs symlinks to filesZac Medico2011-04-111-1/+7
| | | | | | | | | Our fake $DISTDIR contains symlinks that should not be reproduced inside $D. In order to ensure that things like dodoc "$DISTDIR"/foo.pdf work as expected, we dereference symlinked files that are referenced by absolute paths. Thanks to James Cloos <cloos@jhcloos.com> for reporting this issue which he observed with the sci-mathematics/minisat ebuild.
* doins: fix dodoc directory error handlingZac Medico2011-02-251-0/+4
|
* doins: avoid die when called as dodoc with no argZac Medico2011-02-251-11/+11
|
* dodoc: call doins, to reuse recursion codeZac Medico2011-02-251-1/+12
| | | | This will fix broken recursion logic for bug #356461.
* doins: use read -rUlrich Müller2010-12-291-1/+1
| | | | This will fix bug #350045.
* * 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-2/+3
|
* 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
|
* Fix it so an empty directory given to doins -r does not trigger failure.Zac Medico2010-01-061-7/+6
| | | | svn path=/main/trunk/; revision=15172
* Bug #299248 - Fix doins return code handling to make sure it always failsZac Medico2010-01-041-3/+20
| | | | | | | when appropriate. Thanks to Jonathan Callen <abcd@g.o> for the initial patch. svn path=/main/trunk/; revision=15158
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15035
* Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks toZac Medico2009-12-081-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965
* Bug #273636 - Add doins and newins support for symlink preservation inZac Medico2009-10-171-5/+21
| | | | | | | EAPI 3. Thanks to Jonathan Callen <abcd@g.o> for the initial patch (I added EAPI conditionals in order to share code between all EAPIs). svn path=/main/trunk/; revision=14625
* 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/+98
svn path=/main/trunk/; revision=13063