From 705848d765d71974d21efd39e94fa58ed21a73fb Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sat, 28 Feb 2009 12:22:38 +0100 Subject: removed ugly syntax for patches patches does not need the -- anymore the name of the patch should not start with a number --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 28a844f..e5e9956 100644 --- a/bashrc +++ b/bashrc @@ -7,7 +7,7 @@ autopatch() { [[ ! -d "$PATCH_OVERLAY" ]] && return 0 - patches=$(ls -1 ${PATCH_OVERLAY}/${CATEGORY}/${PN}/{${PN},${P},${PF}}--*.{patch,diff} 2>/dev/null) + patches=$(ls -1 ${PATCH_OVERLAY}/${CATEGORY}/${PN}/{${PN},${P},${PF}}-[^0-9]*.{patch,diff} 2>/dev/null) [[ $patches == "" ]] && return 0 if ! cd ${S}; then -- cgit v1.2.3