[arch-commits] CVS update of arch/build/editors/vim (PKGBUILD fetch_patches.sh)

Tobias Kieslich tobias at archlinux.org
Sun Aug 12 16:52:04 EDT 2007


    Date: Sunday, August 12, 2007 @ 16:52:04
  Author: tobias
    Path: /home/cvs-arch/arch/build/editors/vim

Modified: PKGBUILD (1.5 -> 1.6) fetch_patches.sh (1.2 -> 1.3)

fix the helper scripts to run in makepkg -l as well


------------------+
 PKGBUILD         |    4 ++--
 fetch_patches.sh |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)


Index: arch/build/editors/vim/PKGBUILD
diff -u arch/build/editors/vim/PKGBUILD:1.5 arch/build/editors/vim/PKGBUILD:1.6
--- arch/build/editors/vim/PKGBUILD:1.5	Sun Aug 12 14:24:18 2007
+++ arch/build/editors/vim/PKGBUILD	Sun Aug 12 16:52:04 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.5 2007/08/12 18:24:18 jgc Exp $
+# $Id: PKGBUILD,v 1.6 2007/08/12 20:52:04 tobias Exp $
 # Maintainer: tobias [ tobias at archlinux org ]
 
 pkgname=vim
@@ -22,7 +22,7 @@
 md5sums=('44c6b4914f38d6f9aa959640b89da329'
          '605cc7ae31bcc9d7864bb0bb6025f55d'
          '144aa049ba70621acf4247f0459f3ee7'
-         'fd7aa27ca214a86eccefb414c2e0d172')
+         'a79d5812709f8ffab2898b51345f035d')
 
 build()
 {
Index: arch/build/editors/vim/fetch_patches.sh
diff -u arch/build/editors/vim/fetch_patches.sh:1.2 arch/build/editors/vim/fetch_patches.sh:1.3
--- arch/build/editors/vim/fetch_patches.sh:1.2	Wed Aug  1 15:43:04 2007
+++ arch/build/editors/vim/fetch_patches.sh	Sun Aug 12 16:52:04 2007
@@ -37,8 +37,7 @@
       fi
     fi
 
-    echo "${_md5}  ${_file}" | md5sum -c - >/dev/null 2>&1
-    if [ ${?} -ne 0 ]; then
+    if [ $(echo "${_md5}  ${_file}" | md5sum --status -c -) ]; then
       echo ${_file} md5sums do not match
       return 1
     fi




More information about the arch-commits mailing list