[arch-commits] CVS update of arch/build/editors/gvim (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/gvim

Modified: PKGBUILD (1.44 -> 1.45) fetch_patches.sh (1.4 -> 1.5)

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/gvim/PKGBUILD
diff -u arch/build/editors/gvim/PKGBUILD:1.44 arch/build/editors/gvim/PKGBUILD:1.45
--- arch/build/editors/gvim/PKGBUILD:1.44	Sun Aug 12 14:34:24 2007
+++ arch/build/editors/gvim/PKGBUILD	Sun Aug 12 16:52:04 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.44 2007/08/12 18:34:24 jgc Exp $
+# $Id: PKGBUILD,v 1.45 2007/08/12 20:52:04 tobias Exp $
 # Maintainer: tobias [ tobias at archlinux org ]
 
 pkgname=gvim
@@ -24,7 +24,7 @@
          '605cc7ae31bcc9d7864bb0bb6025f55d'
          '144aa049ba70621acf4247f0459f3ee7'
          '2be104c0372dd6dae19cb7968c03cd4f'
-         'fd7aa27ca214a86eccefb414c2e0d172')
+         'a79d5812709f8ffab2898b51345f035d')
 
 build()
 {
Index: arch/build/editors/gvim/fetch_patches.sh
diff -u arch/build/editors/gvim/fetch_patches.sh:1.4 arch/build/editors/gvim/fetch_patches.sh:1.5
--- arch/build/editors/gvim/fetch_patches.sh:1.4	Wed Aug  1 15:43:04 2007
+++ arch/build/editors/gvim/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