summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-10 21:35:52 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-10 21:35:52 -0500
commit1bb3a73979d7023e7425b9a0acc1324070044278 (patch)
treeaaee80f7b4abbe8b49950fce74e0a41bf085a8d0 /eclass/eutils.eclass
parentavoid using ${var^} and ${var,} as they do not work in bash-3.2 (diff)
downloadgentoo-1bb3a73979d7023e7425b9a0acc1324070044278.tar.gz
gentoo-1bb3a73979d7023e7425b9a0acc1324070044278.tar.bz2
gentoo-1bb3a73979d7023e7425b9a0acc1324070044278.zip
eutils.eclass: epatch: clarify usage of --dry-run/-f flags when testing #565336
This should make the log a bit more clear as to the exact flags that are used when calling patch when people review the log after the fact.
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 7331796c8b81..c2a64e312dd6 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -597,7 +597,7 @@ epatch() {
(
_epatch_draw_line "***** ${patchname} *****"
echo
- echo "PATCH COMMAND: ${patch_cmd} < '${PATCH_TARGET}'"
+ echo "PATCH COMMAND: ${patch_cmd} --dry-run -f < '${PATCH_TARGET}'"
echo
_epatch_draw_line "***** ${patchname} *****"
${patch_cmd} --dry-run -f < "${PATCH_TARGET}" 2>&1
@@ -612,6 +612,7 @@ epatch() {
_epatch_draw_line "***** ${patchname} *****"
echo
echo "ACTUALLY APPLYING ${patchname} ..."
+ echo "PATCH COMMAND: ${patch_cmd} < '${PATCH_TARGET}'"
echo
_epatch_draw_line "***** ${patchname} *****"
${patch_cmd} < "${PATCH_TARGET}" 2>&1