[DRE-commits] [SCM] ruby-gnome2.git branch, master, updated. 89170f491c9db91ee84950e13006ef2f8730e4c5

Antonio Terceiro terceiro at softwarelivre.org
Thu Jul 28 04:37:38 UTC 2011


The following commit has been merged in the master branch:
commit dcbe387ef7ef009ff75c497c3f655d1019b33ab6
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed Jul 27 21:36:19 2011 -0700

    Sanity-check debian/*.examples

diff --git a/debian/check-upstream-versus-debian b/debian/check-upstream-versus-debian
index 20c1727..45b2999 100755
--- a/debian/check-upstream-versus-debian
+++ b/debian/check-upstream-versus-debian
@@ -44,6 +44,14 @@ for upstream_pkg in $(ls -1 */extconf.rb | xargs -n 1 dirname); do
     fail "debian/$pkg.examples not found, but $upstream_pkg/sample exists!"
   fi
 
+  if test -e debian/$pkg.examples; then
+    for sampledir in $(sed -e 's/\*//' debian/$pkg.examples); do
+      if ! test -d "$sampledir"; then
+        fail "debian/$pkg.examples lists $sampledir, but it does not exist!"
+      fi
+    done
+  fi
+
   if ! (echo "$ruby_gnome2_deps" | grep -q $pkg); then
     fail "ruby-gnome2 does NOT depend on $pkg!"
   fi

-- 
ruby-gnome2.git



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