[Pkg-cli-common-commits] [SCM] cli-common branch, master, updated. debian/0.7.1-12-ge9fac7a

Christopher James Halse Rogers raof at ubuntu.com
Tue Apr 5 21:08:06 UTC 2011


The following commit has been merged in the master branch:
commit 3aa893fcd8f1e197f3a231c0fc4ff7d3f58be6b6
Author: Christopher James Halse Rogers <raof at ubuntu.com>
Date:   Wed Feb 10 09:45:01 2010 +1100

    Be more C-like in resolvePrivateLibrary

diff --git a/dh_clideps b/dh_clideps
index 7de434c..0d06eaf 100755
--- a/dh_clideps
+++ b/dh_clideps
@@ -693,7 +693,11 @@ sub resolvePrivateLibrary {
     $library_file = basename($target);
   }
   verbose_print("Looking for $target at $library_file");
-  return 1 if -f $library_file || -s $library_file;
+  if (-f $library_file || -s $library_file) {
+    return 1;
+  } else {
+    return 0;
+  }
 }
 
 =head1 SEE ALSO

-- 
cli-common



More information about the Pkg-cli-common-commits mailing list