From 34fc75dddc7b9b84a0810f97f6f39af3d6372809 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 28 Jan 2009 18:09:06 +0100 Subject: 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 --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') 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 -- cgit v1.2.3