[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. 319a8926cff28400cdcd50a9aac6352f61652a85

Antonio Terceiro terceiro at debian.org
Sun Jun 24 19:33:19 UTC 2012


The following commit has been merged in the master branch:
commit 319a8926cff28400cdcd50a9aac6352f61652a85
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Jun 24 16:29:00 2012 -0300

    Fix quick-update

diff --git a/quick-update b/quick-update
index ef27ab8..d9d201d 100755
--- a/quick-update
+++ b/quick-update
@@ -7,9 +7,9 @@ list_heads="
 for package in $packages; do
   (
     echo -n \"\$package \"
-    cat \$package/.git/refs/heads/master
+    cat \$package/.git/refs/heads/master || awk '{ if (\$2 == \"refs/heads/master\") { print(\$1) }}' \$package/.git/info/refs
   )
-done 2>/dev/null
+done
 "
 remote_list_heads=$(echo "$list_heads" | sed -e 's/\/\.git/.git/g')
 

-- 
pkg-ruby-extras.git



More information about the Pkg-ruby-extras-commits mailing list