[Pkg-ocaml-maint-commits] r6471 - /trunk/projects/git-guide/d-o-m-mrconfig.sh

glondu at users.alioth.debian.org glondu at users.alioth.debian.org
Sun Dec 26 13:45:39 UTC 2010


Author: glondu
Date: Sun Dec 26 13:45:37 2010
New Revision: 6471

URL: http://svn.debian.org/wsvn/?sc=1&rev=6471
Log:
Use dom-safe-pull, remove bashism

Modified:
    trunk/projects/git-guide/d-o-m-mrconfig.sh

Modified: trunk/projects/git-guide/d-o-m-mrconfig.sh
URL: http://svn.debian.org/wsvn/trunk/projects/git-guide/d-o-m-mrconfig.sh?rev=6471&op=diff
==============================================================================
--- trunk/projects/git-guide/d-o-m-mrconfig.sh (original)
+++ trunk/projects/git-guide/d-o-m-mrconfig.sh Sun Dec 26 13:45:37 2010
@@ -53,10 +53,10 @@
       }
       update_check () {
         if [ -d .git ]; then
-          git pull
+          dom-safe-pull
         else
           svn update
-          if [ -f \"trunk/README\" ] && [[ \"\`cat trunk/README\`\" =~ \"This package has moved\" ]]; then       
+          if [ -f \"trunk/README\" ] && grep -q \"This package has moved\" trunk/README; then
             cd ..
             msg \"Deleting old svn repository: packages/\$1\"
             rm -rf \$1




More information about the Pkg-ocaml-maint-commits mailing list