summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-01-28 18:09:06 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2009-01-28 18:09:06 +0100
commit34fc75dddc7b9b84a0810f97f6f39af3d6372809 (patch)
tree590f369b0aad250a5007a2c448aa89ff2c2c9c6b /bashrc
parentd44218f6bd4c57ef34a5540857abcda1a3a7e872 (diff)
downloadportage-ext-34fc75dddc7b9b84a0810f97f6f39af3d6372809.tar.gz
portage-ext-34fc75dddc7b9b84a0810f97f6f39af3d6372809.tar.xz
portage-ext-34fc75dddc7b9b84a0810f97f6f39af3d6372809.zip
feature request: possibility to create patches only for one version
new names for patches: target--*.{patch,diff} with: target only as the package name target as package name and version target as package name, version and revision
Diffstat (limited to '')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 4728ca2..28a844f 100644
--- a/bashrc
+++ b/bashrc
@@ -7,7 +7,7 @@ autopatch() {
[[ ! -d "$PATCH_OVERLAY" ]] && return 0
- patches=$(ls -1 ${PATCH_OVERLAY}/${CATEGORY}/${PN}/${PN}-*.{patch,diff} 2>/dev/null)
+ patches=$(ls -1 ${PATCH_OVERLAY}/${CATEGORY}/${PN}/{${PN},${P},${PF}}--*.{patch,diff} 2>/dev/null)
[[ $patches == "" ]] && return 0
if ! cd ${S}; then