summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-02-28 12:22:38 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2009-02-28 12:22:38 +0100
commit705848d765d71974d21efd39e94fa58ed21a73fb (patch)
tree51749035bba8e75b35af55d80163e170833d2c74
parent34fc75dddc7b9b84a0810f97f6f39af3d6372809 (diff)
downloadportage-ext-705848d765d71974d21efd39e94fa58ed21a73fb.tar.gz
portage-ext-705848d765d71974d21efd39e94fa58ed21a73fb.tar.xz
portage-ext-705848d765d71974d21efd39e94fa58ed21a73fb.zip
removed ugly syntax for patches
patches does not need the -- anymore the name of the patch should not start with a number
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
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