summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/doins
Commit message (Collapse)AuthorAgeFilesLines
* doins: tweak $DISTDIR symlink handlingZac Medico2011-04-131-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-131-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-03-011-0/+4
|
* doins: avoid die when called as dodoc with no argZac Medico2011-03-011-11/+11
|
* dodoc: call doins, to reuse recursion codeZac Medico2011-03-011-1/+12
| | | | This will fix broken recursion logic for bug #356461.
* doins: use read -rUlrich Müller2010-12-301-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