diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-02-28 12:22:38 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-02-28 12:22:38 +0100 |
commit | 705848d765d71974d21efd39e94fa58ed21a73fb (patch) | |
tree | 51749035bba8e75b35af55d80163e170833d2c74 | |
parent | 34fc75dddc7b9b84a0810f97f6f39af3d6372809 (diff) | |
download | portage-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
Diffstat (limited to '')
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |