diff options
author | Florian Pritz <f-p@gmx.at> | 2009-05-08 15:04:47 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-05-08 15:04:47 +0200 |
commit | 06805f308765f6c08f66bcba64d256683b83a4a2 (patch) | |
tree | e278b90e7e87d9bcccb488169869eda43f4b8683 /vim | |
parent | b327b6a3f2bf9eef43655f79ee79d4865c2edbe2 (diff) | |
download | aur-packages-06805f308765f6c08f66bcba64d256683b83a4a2.tar.gz aur-packages-06805f308765f6c08f66bcba64d256683b83a4a2.tar.xz |
mass update
Diffstat (limited to 'vim')
-rw-r--r-- | vim/fetch_patches.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/fetch_patches.sh b/vim/fetch_patches.sh index 41b8564..bff2e1e 100644 --- a/vim/fetch_patches.sh +++ b/vim/fetch_patches.sh @@ -54,9 +54,9 @@ get_patches() { IFS=$_OLDIFS rm MD5SUMS cd ${startdir}/src/vim$(echo ${_srcver} | sed "s/\.//") - for _patch in $(/bin/ls ${_patchdir}); do - patch -Np0 -i ${_patchdir}/${_patch} || return 1 - done + for _patchnum in $(seq -w 1 ${_patchlevel} ); do + patch -Np0 -i ${_patchdir}/${_srcver}.${_patchnum} || return 1 + done rm -rf ${_patchdir} return 0 } |